home *** CD-ROM | disk | FTP | other *** search
/ Carousel Volume 2 #1 / carousel.iso / mactosh / da / insidema.sit / Little Manual < prev    next >
Text File  |  1988-08-18  |  87KB  |  3,485 lines

  1.  ,129
  2. 129
  3. Resource Manager Definitions.
  4.  
  5. Definitions not available in the little manual.
  6. \ ,130
  7. 130
  8. QuickDraw Definitions.
  9.  
  10. Definitions not available in the little manual.
  11. \ ,131
  12. 131
  13. Font Manager Definitions.
  14.  
  15. Definitions not available in the little manual.
  16. \ ,132
  17. 132
  18. Event Manager Definitions.
  19.  
  20. Definitions not available in the little manual.
  21. \ ,133
  22. 133
  23. Window Manager Definitions.
  24.  
  25. Definitions not available in the little manual.
  26. \ ,134
  27. 134
  28. Control Manager Definitions.
  29.  
  30. Definitions not available in the little manual.
  31. \ ,135
  32. 135
  33. Menu Manager Definitions.
  34.  
  35. Definitions not available in the little manual.
  36. \ ,136
  37. 136
  38. TextEdit Definitions.
  39.  
  40. Definitions not available in the little manual.
  41. \ ,137
  42. 137
  43. Dialog Manager Definitions.
  44.  
  45. Definitions not available in the little manual.
  46. \ ,138
  47. 138
  48. Desk Manager Definitions.
  49.  
  50. Definitions not available in the little manual.
  51. \ ,139
  52. 139
  53. Scrap Manager Definitions.
  54.  
  55. Definitions not available in the little manual.
  56. \ ,140
  57. 140
  58. Toolbox Utilities Definitions.
  59.  
  60. Definitions not available in the little manual.
  61. \ ,141
  62. 141
  63. Package Manager Definitions.
  64.  
  65. Definitions not available in the little manual.
  66. \ ,142
  67. 142
  68. Memory Manager Definition.
  69.  
  70. Definitions not available in the little manual.
  71. \ ,143
  72. 143
  73. Segment Loader Definitions.
  74.  
  75. Definitions not available in the little manual.
  76. \ ,144
  77. 144
  78. OS Event Definitions.
  79.  
  80. Definitions not available in the little manual.
  81. \ ,145
  82. 145
  83. File Manager Definitions.
  84.  
  85. Definitions not available in the little manual.
  86. \ ,146
  87. 146
  88. Printing Manager Definitions.
  89.  
  90. Definitions not available in the little manual.
  91. \ ,147
  92. 147
  93. Device Manager Definitions.
  94.  
  95. Definitions not available in the little manual.
  96. \ ,148
  97. 148
  98. Disk Driver Definitions.
  99.  
  100. Definitions not available in the little manual.
  101. \ ,149
  102. 149
  103. Sound Driver Definitions.
  104.  
  105. Definitions not available in the little manual.
  106. \ ,151
  107. 151
  108. AppleTalk definitions.
  109.  
  110. Definitions not available in the little manual.
  111. \ ,154
  112. 154
  113. List Manager Definitions.
  114.  
  115. Definitions not available in the little manual.
  116. \,155
  117. 155
  118.  
  119. Definitions not available in the little manual.
  120. \ InitResources
  121. 1
  122. FUNCTION InitResources : INTEGER;
  123. \ RsrcZoneInit
  124. 1
  125. PROCEDURE RsrcZoneInit;
  126. \ CreateResFile
  127. 1
  128. PROCEDURE CreateResFile (fileName: Str255);
  129. \ OpenResFile
  130. 1
  131. FUNCTION OpenResFile (fileName: Str255) : INTEGER;
  132. \ CloseResFile
  133. 1
  134. PROCEDURE CloseResFile (refNum: INTEGER);
  135. \ ResError
  136. 1
  137. FUNCTION ResError : INTEGER;
  138. \ CurResFile
  139. 1
  140. FUNCTION CurResFile  : INTEGER;
  141. \ HomeResFile
  142. 1
  143. FUNCTION HomeResFile  (theResource: Handle)  :  INTEGER
  144. \ UseResFile
  145. 1
  146. PROCEDURE UseResFile  (refNum:  INTEGER);
  147. \ CountTypes
  148. 1
  149. FUNCTION CountTypes : INTEGER;
  150. \ GetIndType
  151. 1
  152. PROCEDURE GetIndType (VAR theType: ResType; index: INTEGER);
  153. \ SetResLoad
  154. 1
  155. PROCEDURE SetResLoad (load: BOOLEAN);
  156. \ CountResources
  157. 1
  158. FUNCTION CountResources (theType: ResType) : INTEGER;
  159. \ GetIndResource
  160. 1
  161. FUNCTION GetIndResource (theType: ResType; index: INTEGER) : Handle;
  162. \ GetResource
  163. 1
  164. FUNCTION Get Resource (theType: ResType; the ID: INTEGER) : Handle;
  165. \ GetNamedResource
  166. 1
  167. FUNCTION GetNamedResource (theType: ResType; name: Str255) : Handle;
  168. \ LoadResource
  169. 1
  170. PROCEDURE LoadResource (theResource: Handle);
  171. \ ReleaseResource
  172. 1
  173. PROCEDURE ReleaseResource (theResource: Handle);
  174. \ DetachResource
  175. 1
  176. PROCEDURE DetachResource (theResource: Handle);
  177. \ UniqueID
  178. 1
  179. FUNCTION UniqueID (theType: ResType) : INTEGER;
  180. \ GetResInfo
  181. 1
  182. PROCEDURE GetResInfo (theResource: Handle; VAR the ID: INTEGER; VAR
  183.         theType: ResType; VAR name: Str255);
  184. \ GetResAttrs
  185. 1
  186. FUNCTION GetResAttrs (theResource: Handle) : INTEGER;
  187. \ SizeResource
  188. 1
  189. FUNCTION SizeResource (the Resource: Handle) : LONGINT;
  190. \ SetResInfo
  191. 1
  192. PROCEDURE SetResInfo (theResource: Handle; theID: INTEGER;
  193.                         name: Str255);
  194. \ SetResAttrs
  195. 1
  196. PROCEDURE SetResAttrs (theResource: Handle; attrs: INTEGER);
  197. \ ChangedResource
  198. 1
  199. PROCEDURE ChangedResource (theResource: Handle);
  200. \ AddResource
  201. 1
  202. PROCEDURE AddResource (theData: Handle; theType: ResType; theID:
  203.         INTEGER; name: Str255);
  204. \ RmveResource
  205. 1
  206. PROCEDURE RmveResource (theResource: Handle);
  207. \ UpdateResFile
  208. 1
  209. PROCEDURE UpdateResFile (refNum: INTEGER);
  210. \ WriteResource
  211. 1
  212. PROCEDURE WriteResource (theResource: Handle);
  213. \ SetResPurge
  214. 1
  215. PROCEDURE SetResPurge (install: BOOLEAN);
  216. \ GetResFileAttrs
  217. 1
  218. FUNCTION GetResFileAttrs (refNum: INTEGER) : INTEGER;
  219. \ SetResFileAttrs
  220. 1
  221. PROCEDURE SetResFileAttrs (refNum: INTEGER; attrs: INTEGER);
  222. \ AddReference
  223. 1
  224. PROCEDURE AddReference (theResource: Handle; theID: INTEGER; name:
  225.       Str255);
  226. \ RmveReference
  227. 1
  228. PROCEDURE RmveReference (theResource: Handle);
  229. \ Count1Types
  230. 1
  231. FUNCTION Count1Types : INTEGER;
  232. \ Get1IndType
  233. 1
  234. PROCEDURE Get1IndType (VAR theType: ResType; index: INTEGER);
  235. \ Count1Resources
  236. 1
  237. FUNCTION Count1Resources (theType: ResType) : INTEGER;
  238. \ Get1IndResource
  239. 1
  240. FUNCTION Get1IndResource (theType: ResType; index: INTEGER) : Handle;
  241. \ Get1Resource
  242. 1
  243. FUNCTION Get1Resource (theType: ResType; theID: INTEGER) : Handle;
  244. \ Get1NamedResource
  245. 1
  246. FUNCTION Get1NamedResource (theType: ResType; name: Str255) : Handle;
  247. \ Unique1ID
  248. 1
  249. FUNCTION Unique1ID (theType: ResType) : INTEGER;
  250. \ MaxSizeRsrc
  251. 1
  252. FUNCTION MaxSizeRsrc (theResource: Handle) : LONGINT;
  253. \ RsrcMapEntry
  254. 1
  255. FUNCTION RsrcMapEntry (theResource: Handle) : LONGINT;
  256. \ OpenRFPerm
  257. 1
  258. FUNCTION OpenRFPerm (fileName: Str255; vRefNum: INTEGER; permission: Byte) : INTEGER;
  259. \ InitGraf
  260. 2
  261. PROCEDURE InitGraf (globalPtr: QDPtr);
  262. \ OpenPort
  263. 2
  264. PROCEDURE OpenPort (gp: GrafPtr);
  265. \ InitPort
  266. 2
  267. PROCEDURE InitPort (gp: GrafPtr);
  268. \ ClosePort
  269. 2
  270. PROCEDURE ClosePort (gp: GrafPtr)
  271. \ SetPort
  272. 2
  273. PROCEDURE SetPort (gp: GrafPtr);
  274. \ GetPort
  275. 2
  276. PROCEDURE GetPort (VAR gp: GrafPtr);
  277. \ GrafDevice
  278. 2
  279. PROCEDURE GrafDevice (device: INTEGER);
  280. \ SetPortBits
  281. 2
  282. PROCEDURE SetPortBits (bm: BitMap);
  283. \ PortSize
  284. 2
  285. PROCEDURE PortSize (width, height:  INTEGER);
  286. \ MovePortTo
  287. 2
  288. PROCEDURE MovePortTo (leftGlobal,topGlobal: INTEGER);
  289. \ SetOrigin
  290. 2
  291. PROCEDURE SetOrigin (h,v: INTEGER);
  292. \ SetClip
  293. 2
  294. PROCEDURE SetClip (rgn: RgnHandle);
  295. \ GetClip
  296. 2
  297. PROCEDURE GetClip (rgn: RgnHandle);
  298. \ ClipRect
  299. 2
  300. PROCEDURE ClipRect (r: Rect);
  301. \ BackPat
  302. 2
  303. PROCEDURE BackPat (pat: Pattern);
  304. \ InitCursor
  305. 2
  306. PROCEDURE InitCursor;
  307. \ SetCursor
  308. 2
  309. PROCEDURE SetCursor (crsr: Cursor);
  310. \ HideCursor
  311. 2
  312. PROCEDURE HideCursor;
  313. \ ShowCursor
  314. 2
  315. PROCEDURE ShowCursor;
  316. \ ObscureCursor
  317. 2
  318. PROCEDURE ObscureCursor;
  319. \ HidePen
  320. 2
  321. PROCEDURE HidePen
  322. \ ShowPen
  323. 2
  324. PROCEDURE ShowPen;
  325. \ GetPen
  326. 2
  327. PROCEDURE GetPen (VAR pt: Point);
  328. \ GetPenState
  329. 2
  330. PROCEDURE GetPenState (VAR pnState: PenState);
  331. \ SetPenState
  332. 2
  333. PROCEDURE SetPenState (pnState: PenState);
  334. \ PenSize
  335. 2
  336. PROCEDURE PenSize (width, height: INTEGER);
  337. \ PenMode
  338. 2
  339. PROCEDURE PenMode (mode: INTEGER);
  340. \ PenPat
  341. 2
  342. PROCEDURE PenPat (pat: Pattern);
  343. \ PenNormal
  344. 2
  345. PROCEDURE PenNormal;
  346. \ MoveTo
  347. 2
  348. PROCEDURE MoveTo (h,v: INTEGER);
  349. \ Move
  350. 2
  351. PROCEDURE Move (dh,dv: INTEGER);
  352. \ LineTo
  353. 2
  354. PROCEDURE LineTo (h,v: INTEGER);
  355. \ Line
  356. 2
  357. PROCEDURE Line (dh,dv: INTEGER);
  358. \ TextFont
  359. 2
  360. PROCEDURE TextFont (font:INTEGER);
  361. \ TextFace
  362. 2
  363. PROCEDURE TextFace (face:Style);
  364. \ TextMode
  365. 2
  366. PROCEDURE TextMode (mode: INTEGER);
  367. \ TextSize
  368. 2
  369. PROCEDURE TextSize (size: INTEGER);
  370. \ SpaceExtra
  371. 2
  372. PROCEDURE SpaceExtra (extra: INTEGER);
  373. \ DrawChar
  374. 2
  375. PROCEDURE DrawChar (ch: CHAR);
  376. \ DrawString
  377. 2
  378. PROCEDURE DrawString (s: Str255);
  379. \ DrawText
  380. 2
  381. PROCEDURE DrawText (textBuf: QDPtr; firstByte,byteCount: INTEGER);
  382. \ CharWidth
  383. 2
  384. FUNCTION CharWidth (ch: CHAR) : INTEGER;
  385. \ StringWidth
  386. 2
  387. FUNCTION StringWidth (s: Str255 ) : INTEGER;
  388. \ TextWidth
  389. 2
  390. FUNCTION TextWidth (textBuf: QDPtr; firstByte,byteCount: INTEGER) :
  391.     INTEGER;
  392. \ GetFontInfo
  393. 2
  394. PROCEDURE GetFontInfo (VAR into: FontInfo);
  395. \ Forecolor
  396. 2
  397. PROCEDURE ForeColor (color: LongInt);
  398. \ BackColor
  399. 2
  400. PROCEDURE BackColor (color: LongInt)
  401. \ ColorBit
  402. 2
  403. PROCEDURE ColorBit (whichBit: INTEGER);
  404. \ SetRect
  405. 2
  406. PROCEDURE SetRect (VAR r: Rect; left,top,right, bottom: INTEGER);
  407. \ OffSetRect
  408. 2
  409. PROCEDURE OffsetRect (VAR r: Rect; dh,dv: INTEGER);
  410. \ InsetRect
  411. 2
  412. PROCEDURE InsetRect (VAR r: Rect; dh,dv: INTEGER);
  413. \ SectRect
  414. 2
  415. FUNCTION SectRect(srcRectA,srcRectB: Rect; VAR dstRect: Rect) :
  416.     BOOLEAN;
  417. \ UnionRect
  418. 2
  419. PROCEDURE UnionRect (srcRectA,srcRectB: Rect; VAR dstRect: Rect);
  420. \ PtInRect
  421. 2
  422. FUNCTION PtInRect (pt: Point; r: Rect) : BOOLEAN;
  423. \ Pt2Rect
  424. 2
  425. PROCEDURE Pt2Rect (ptA,ptB: Point; VAR: dstRect: Rect);
  426. \ PtToAngle
  427. 2
  428. PROCEDURE PtToAngle (r: Rect; pt: Point; VAR angle: INTEGER);
  429. \ EqualRect
  430. 2
  431. FUNCTION EqualRect (rectA,rectB: Rect) : BOOLEAN;
  432. \ EmptyRect
  433. 2
  434. FUNCTION EmptyRect (r: Rect) : BOOLEAN;
  435. \ FrameRect
  436. 2
  437. PROCEDURE FrameRect (r: Rect);
  438. \ PaintRect
  439. 2
  440. PROCEDURE PaintRect (r: Rect);
  441. \ EraseRect
  442. 2
  443. PROCEDURE EraseRect (r: Rect);
  444. \ InvertRect
  445. 2
  446. PROCEDURE InvertRect (r: Rect);
  447. \ FillRect
  448. 2
  449. PROCEDURE FillRect (r: Rect; pat: Pattern);
  450. \ FrameOval
  451. 2
  452. PROCEDURE FrameOval (r: Rect);
  453. \ PaintOval
  454. 2
  455. PROCEDURE PaintOval (r: Rect);
  456. \ EraseOval
  457. 2
  458. PROCEDURE EraseOval (r: Rect);
  459. \ InvertOval
  460. 2
  461. PROCEDURE InvertOval (r: Rect);
  462. \ FillOval
  463. 2
  464. PROCEDURE FillOval (r: Rect; pat: Pattern);
  465. \ FrameRoundRect
  466. 2
  467. PROCEDURE FrameRoundRect (r: Rect; ovalWidth,ovalHeight: INTEGER);
  468. \ PaintRoundRect
  469. 2
  470. PROCEDURE PaintRoundRect (r: Rect; ovalWidth,ovalHeight: INTEGER);
  471. \ EraseRoundRect
  472. 2
  473. PROCEDURE EraseRoundRect (r: Rect; ovalWidth,ovalHeight: INTEGER);
  474. \ InvertRoundRect
  475. 2
  476. PROCEDURE InvertRoundRect (r: Rect; ovalWidth,ovalHeight: INTEGER);
  477. \ FillRoundRect
  478. 2
  479. PROCEDURE FillRoundRect (r: Rect; ovalWidth,ovalHeight: INTEGER; pat:
  480.                             Pattern);
  481. \ FrameArc
  482. 2
  483. PROCEDURE FrameArc (r: Rect; startAngle,arcAngle: INTEGER);
  484. \ PaintArc
  485. 2
  486. PROCEDURE PaintArc (r: Rec; startAngle,arcAngle: INTEGER);
  487. \ EraseArc
  488. 2
  489. PROCEDURE EraseArc (r: Rect; startAngle,arcAngle: INTEGER);
  490. \ InvertArc
  491. 2
  492. PROCEDURE InvertArc (r: Rect; startAngle,arcAngle: INTEGER);
  493. \ FillArc
  494. 2
  495. PROCEDURE FillArc (r: Rect; startAngle,arcAngle: INTEGER; pat:
  496.     Pattern);
  497. \ NewRgn
  498. 2
  499. FUNCTION NewRgn : RgnHandle;
  500. \ DisposeRgn
  501. 2
  502. PROCEDURE DisposeRgn (rgn: RgnHandle);
  503. \ CopyRgn
  504. 2
  505. PROCEDURE CopyRgn (srcRgn,dstRgn: RgnHandle);
  506. \ SetEmptyRgn
  507. 2
  508. PROCEDURE SetEmptyRgn (rgn: RgnHandle);
  509. \ SetRectRgn
  510. 2
  511. PROCEDURE SetRectRgn (rgn: RgnHandle; left,top,right,bottom: INTEGER);
  512. \ RectRgn
  513. 2
  514. PROCEDURE RectRgn (rgn: RgnHandle; r: Rect);
  515. \ OpenRgn
  516. 2
  517. PROCEDURE OpenRgn;
  518. \ CloseRgn
  519. 2
  520. PROCEDURE CloseRgn (dstRgn: RgnHandle);
  521. \ OffsetRgn
  522. 2
  523. PROCEDURE OffsetRgn (rgn: RgnHandle; dh,dv: INTEGER);
  524. \ InsetRgn
  525. 2
  526. PROCEDURE InsetRgn (rgn: RgnHandle; dh,dv: INTEGER);
  527. \ SectRgn
  528. 2
  529. PROCEDURE SectRgn (srcRgnA,srcRgnB,dstRgn: RgnHandle);
  530. \ UnionRgn
  531. 2
  532. PROCEDURE UnionRgn (srcRgnA,srcRgnB,dstRgn: RgnHandle);
  533. \ DiffRgn
  534. 2
  535. PROCEDURE DiffRgn (srcRgnA,srcRgnB,dstRgn: RgnHandle);
  536. \ XorRgn
  537. 2
  538. PROCEDURE XorRgn (srcRgnA,srcRgnB,dstRgn: RgnHandle);
  539. \ PtInRgn
  540. 2
  541. FUNCTION PtInRgn (pt: Point; rgn: RgnHandle) : BOOLEAN;
  542. \ RectInRgn
  543. 2
  544. FUNCTION RectInRgn (r: Rect; rgn: RgnHandle) : BOOLEAN;
  545. \ EqualRgn
  546. 2
  547. FUNCTION EqualRgn (rgnA,rgnB: RgnHandle) : BOOLEAN;
  548. \ EmptyRgn
  549. 2
  550. FUNCTION EmptyRgn (rgn: RgnHandle) : BOOLEAN;
  551. \ FrameRgn
  552. 2
  553. PROCEDURE FrameRgn (rgn: RgnHandle);
  554. \ PaintRgn
  555. 2
  556. PROCEDURE PaintRgn (rgn: RgnHandle);
  557. \ EraseRgn
  558. 2
  559. PROCEDURE EraseRgn (rgn: RgnHandle);
  560. \ InvertRgn
  561. 2
  562. PROCEDURE InvertRgn (rgn: RgnHandle);
  563. \ FillRgn
  564. 2
  565. PROCEDURE FillRgn (rgn: RgnHandle; pat: Pattern);
  566. \ ScrollRect
  567. 2
  568. PROCEDURE ScrollRect (r: Rect; dh,dv: INTEGER; updateRgn: RgnHandle);
  569. \ CopyBits
  570. 2
  571. PROCEDURE CopyBits (srcBits,dstBits: BitMap; srcRect,dstRect: Rect;
  572.         mode: INTEGER; maskRgn: RgnHandle);
  573. \ OpenPicture
  574. 2
  575. FUNCTION  OpenPicture (picFrame: Rect) : PicHandle;
  576. \ ClosePicture
  577. 2
  578. PROCEDURE ClosePicture;
  579. \ PicComment
  580. 2
  581. PROCEDURE PicComment (kind,dataSize: INTEGER; dataHandle: QDHandle);
  582. \ DrawPicture
  583. 2
  584. PROCEDURE DrawPicture (myPicture: PicHandle; dstRect: Rect);
  585. \ KillPicture
  586. 2
  587. PROCEDURE KillPicture (myPicture: PicHandle);
  588. \ OpenPoly
  589. 2
  590. FUNCTION OpenPoly : PlyHandle;
  591. \ ClosePoly
  592. 2
  593. PROCEDURE ClosePoly;
  594. \ KillPoly
  595. 2
  596. PROCEDURE KillPoly (poly: PolyHandle);
  597. \ OffsetPoly
  598. 2
  599. PROCEDURE OffsetPoly (poly: PolyHandle; dh,dv: INTEGER);
  600. \ FramePoly
  601. 2
  602. PROCEDURE FramePoly (poly: PolyHandle);
  603. \ PaintPoly
  604. 2
  605. PROCEDURE PaintPoly (poly: PolyHandle);
  606. \ ErasePoly
  607. 2
  608. PROCEDURE ErasePoly (poly: PolyHandle);
  609. \ InvertPoly
  610. 2
  611. PROCEDURE InvertPoly (poly: PolyHandle);
  612. \ FillPoly
  613. 2
  614. PROCEDURE FillPoly (poly: PolyHandle; pat: Pattern);
  615. \ AddPt
  616. 2
  617. PROCEDURE AddPt (srcPt: Point; VAR dstPt: Point);
  618. \ SubPt
  619. 2
  620. PROCEDURE SubPt (srcPt: Point; VAR dstPt: Point);
  621. \ SetPt
  622. 2
  623. PROCEDURE SetPt (VAR pt: Point; h,v: INTEGER);
  624. \ EqualPt
  625. 2
  626. FUNCTION EqualPt (ptA,ptB: Point) : BOOLEAN;
  627. \ LocalToGlobal
  628. 2
  629. PROCEDURE LocalToGlobal (VAR pt: Point);
  630. \ GlobalToLocal
  631. 2
  632. PROCEDURE GlobalToLocal (VAR pt: Point);
  633. \ Random
  634. 2
  635. \ GetPixel
  636. 2
  637. FUNCTION GetPixel (h,v: INTEGER) : BOOLEAN;
  638. \ StuffHex
  639. 2
  640. PROCEDURE StuffHex (thingPtr: QDPtr; s: Str255);
  641. \ ScalePt
  642. 2
  643. PROCEDURE ScalePt (VAR pt: Point; srcRect,dstRect: Rect);
  644. \ MapPt
  645. 2
  646. PROCEDURE MapPt (VAR pt: Point; srcRect,dstRect: Rect);
  647. \ MapRect
  648. 2
  649. PROCEDURE MapRect (VAR r: Rect; srcRect,dstRect: Rect);
  650. \ MapRgn
  651. 2
  652. PROCEDURE MapRgn (rgn: RgnHandle; srcRect: Rect);
  653. \ MapPoly
  654. 2
  655. PROCEDURE MapPoly (poly: PolyHandle; srcRect,dstRect: Rect);
  656. \ SetStdProcs
  657. 2
  658. PROCEDURE SetStdProcs (VAR procs: QDProcs);
  659. \ StdLine
  660. 2
  661. PROCEDURE StdLine (newPt: Point);
  662. \ StdRect
  663. 2
  664. PROCEDURE StdRect (verb; r: Rect);
  665. \ StdRRect
  666. 2
  667. PROCEDURE StdRRect (verb: GrafVerb; r: Rect; ovalwidth,ovalHeight:
  668.                     INTEGER);
  669. \ StdOval
  670. 2
  671. PROCEDURE StdOval (verb: GrafVerb; r: Rect);
  672. \ StdArc
  673. 2
  674. PROCEDURE StdArc (verb: GrafVerb; r: Rect; startAngle,arcAngle:
  675.                     INTEGER);
  676. \ StdPoly
  677. 2
  678. PROCEDURE StdPoly (verb: GrafVerb; poly: PolyHandle);
  679. \ StdRgn
  680. 2
  681. PROCEDURE StdRgn (verb: GrafVerb; rgn: RgnHandle);
  682. \ StdBits
  683. 2
  684. PROCEDURE StdBits (VAR srcBits: BitMap; VAR srcRect,dstRect: Rect;
  685.                     mode: INTEGER; maskRgn: RgnHandle);
  686. \ StdComment
  687. 2
  688. PROCEDURE StdComment (kind,dataSize: INTEGER; dataHandle: QDHandle);
  689. \ StdTxMeas
  690. 2
  691. FUNCTION StdTxMeas (byteCount: INTEGER; textBuf: QDPtr; VAR
  692.                     numer,denom: Point; VAR info: FontInfo) : INTEGER;
  693. \ StdGetPic
  694. 2
  695. PROCEDURE StdGetPic (dataPtr: QDPtr; byteCount: INTEGER);
  696. \ StdPutPic
  697. 2
  698. PROCEDURE StdPutPic (dataPtr: QdPtr; byteCount: INTEGER);
  699. \ SeedFill
  700. 2
  701. PROCEDURE SeedFill (srcPtr,dstPtr: Ptr; srcRow, dstRow, height,
  702.                     words,seedH,seedV: INTEGER);
  703. \ CalcMask
  704. 2
  705. PROCEDURE CalcMask (srcPtr,dstPtr: Ptr; srcRow, dstRow, height,
  706.                     words: INTEGER);
  707. \ CopyMask
  708. 2
  709. PROCEDURE CopyMask (srcBits,maskBits,dstBits: BitMap; srcRect,
  710.                     maskRect,dstRect: Rect);
  711. \ MeasureText
  712. 2
  713. PROCEDURE MeasureText (count: INTEGER; textAddr,charLocs: Ptr);
  714. \ GetMaskTable
  715. 2
  716.     The function GetMaskTable, accessible only from assembly language,
  717. returns in register A0 a pointer to a ROM table containing several useful masks.
  718. \ InitFonts
  719. 3
  720. PROCEDURE InitFonts;
  721. \ GetFontName
  722. 3
  723. PROCEDURE GetFontName (fontNum: INTEGER; VAR theName: Str255);
  724. \ GetFNum
  725. 3
  726. PROCEDURE GetFNum (fontName: Str255; VAR theNum: INTEGER);
  727. \ RealFont
  728. 3
  729. FUNCTION RealFont (fontNum: INTEGER; size: INTEGER) : BOOLEAN;
  730. \ SetFontLock
  731. 3
  732. PROCEDURE SetFontLock (lockFlag: BOOLEAN);
  733. \ SwapFont
  734. 3
  735. FUNCTION SwapFont (inRec: FMInput) : FMOutPtr;
  736. \ FontMetrics
  737. 3
  738. PROCEDURE FontMetrics (VAR theMetrics: FMetricRec);
  739. \ SetFractEnable
  740. 3
  741. PROCEDURE SetFractEnable (fractEnable: BOOLEAN)   [Not in ROM]
  742. \ SetFScaleDisable
  743. 3
  744. PROCEDURE SetFScaleDisable (fontScaleDisable: BOOLEAN);
  745. \ GetNextEvent
  746. 4
  747. FUNCTION GetNextEvent (eventMask: INTEGER; VAR theEvent: EventRecord)
  748.                         : BOOLEAN;
  749. \ EventAvail
  750. 4
  751. FUNCTION EventAvail (eventMask: INTEGER; VAR theEvent: EventRecord) :
  752.     BOOLEAN;
  753. \ GetMouse
  754. 4
  755. PROCEDURE GetMouse (VAR mouseLoc: Point);
  756. \ Button
  757. 4
  758. FUNCTION Button : BOOLEAN;
  759. \ Stilldown
  760. 4
  761. FUNCTION StillDown : BOOLEAN;
  762. \ WaitMouseUp
  763. 4
  764. FUNCTION WaitMouseUp: BOOLEAN;
  765. \ GetKeys
  766. 4
  767. PROCEDUREGetKeys (VAR theKeys: KeyMap);
  768. \ TickCount
  769. 4
  770. FUNCTION TickCount : LONGINT;
  771. \ GetDblTime
  772. 4
  773. FUNCTION GetDblTime : LONGINT; [No trap macro]
  774. \ GetCaretTime
  775. 4
  776. FUNCTION GetCaretTime : LONGINT; [No trap macro]
  777. \ InitWindows
  778. 5
  779. PROCEDURE InitWindows;
  780. \ GetWMgrPort
  781. 5
  782. PROCEDURE GetWMgrPort (VAR wPort:  GrafPtr);
  783. \ NewWindow
  784. 5
  785. FUNCTION NewWindow (wStorage: Ptr; boundsRect: Rect; title: Str255;
  786.                     visible: BOOLEAN; procID: Integer;behind: WindowPtr;
  787.                     goAway Flag: BOOLEAN; refCon: LongInt) : WindowPtr;
  788. \ GetNewWindow
  789. 5
  790. FUNCTION GetNewWindow (ID: INTEGER; wStorage: Ptr; behind:
  791.                         WindowPtr) : WindowPtr;
  792. \ CloseWindow
  793. 5
  794. PROCEDURE CloseWindow (theWindow: WindowPtr);
  795. \ DisposeWindow
  796. 5
  797. PROCEDURE DisposeWindow (theWindow: WindowPtr);
  798. \ SetWTitle
  799. 5
  800. PROCEDURE SetWTitle (theWindow: WindowPtr; title: Str255);
  801. \ GetWTitle
  802. 5
  803. PROCEDURE GetWTitle (theWindow: WindowPtr; VAR title: Str255);
  804. \ SelectWindow
  805. 5
  806. PROCEDURE SelectWindow (theWindow: WindowPtr);
  807. \ HideWindow
  808. 5
  809. PROCEDURE HideWindow (theWindow: WindowPtr);
  810. \ ShowWindow
  811. 5
  812. PROCEDURE ShowWindow (theWindow: WindowPtr);
  813. \ ShowHide
  814. 5
  815. PROCEDURE ShowHide (theWindow: WindowPtr; showFlag: (BOOLEAN);
  816. \ HiliteWindow
  817. 5
  818. PROCEDURE HiliteWindow (theWindow: WindowPtr; fHilite: BOOLEAN);
  819. \ BringToFront
  820. 5
  821. PROCEDURE BringToFront (theWindow: WindowPtr);
  822. \ SendBehind
  823. 5
  824. PROCEDURE SendBehind (theWindow: WindowPtr; behindWindow: WindowPtr);
  825. \ FrontWindow
  826. 5
  827. FUNCTION FrontWindow : WindowPtr;
  828. \ DrawGrowIcon
  829. 5
  830. PROCEDURE DrawGrowIcon (theWindow: WindowPtr).
  831. \ FindWindow
  832. 5
  833. FUNCTION FindWindow (thePt: Point; VAR whichWindow: WindowPtr) :
  834.     INTEGER;
  835. \ TrackGoAway
  836. 5
  837. FUNCTION TrackGoAway (theWindow: WindowPtr; thePt: Point) : BOOLEAN;
  838. \ MoveWindow
  839. 5
  840. PROCEDURE MoveWindow (theWindow: WindowPtr; hGlobal,vGlobal: INTEGER;
  841.     front: BOOLEAN);
  842. \ DragWindow
  843. 5
  844. PROCEDURE DragWindow (theWindow: WindowPtr; startPt: Point; boundsRect:
  845.     Rect);
  846. \ GrowWindow
  847. 5
  848. FUNCTION GrowWindow (theWindow: WindowPtr; startPt: Point; sizeRect:
  849.     Rect) : LongInt;
  850. \ SizeWindow
  851. 5
  852. PROCEDURE SizeWindow (theWindow: WindowPtr; w,h: INTEGER; fUpdate:
  853.     BOOLEAN);
  854. \ InvalRect
  855. 5
  856. PROCEDURE InvalRect (badRect: Rect);
  857. \ InvalRgn
  858. 5
  859. PROCEDURE InvalRgn (badRgn: RgnHandle);
  860. \ ValidRect
  861. 5
  862. PROCEDURE ValidRect (goodRect: Rect);
  863. \ ValidRgn
  864. 5
  865. PROCEDURE ValidRgn (goodRgn: RgnHandle);
  866. \ BeginUpdate
  867. 5
  868. PROCEDURE BeginUpdate (theWindow: WindowPtr);
  869. \ EndUpdate
  870. 5
  871. PROCEDURE EndUpdate (theWindow: WindowPtr);
  872. \ SetWRefCon
  873. 5
  874. PROCEDURESetWRefCon (theWindow: WindowPtr; data: LongInt);
  875. \ GetWRefCon
  876. 5
  877. FUNCTION GetWRefCon (theWindow: WindowPtr) : LongInt;
  878. \ SetWindowPic
  879. 5
  880. PROCEDURE SetWindowPic (theWindow: WindowPtr; pic: PicHandle);
  881. \ GetWindowPic
  882. 5
  883. FUNCTION GetWindowPic (theWindow: WindowPtr) : PicHandle;
  884. theWindow's contents, previously stored with SetWindowPic (above).
  885. \ PinRect
  886. 5
  887. FUNCTION PinRect (theRect: Rect; thePt: Point) : LongInt;
  888. \ DragGrayRgn
  889. 5
  890. FUNCTION DragGrayRgn (theRgn: RgnHandle; startPt: Point;
  891.     limitRect,slopRect: Rect; axis: INTEGER; actionProc:
  892.     ProcPtr): LongInt;
  893. \ CheckUpdate
  894. 5
  895. FUNCTION CheckUpdate (VAR the Event: EventRecord) : BOOLEAN;
  896. \ ClipAbove
  897. 5
  898. PROCEDURE ClipAbove (window: WindowPeek);
  899. \ SaveOld
  900. 5
  901. PROCEDURE SaveOld (window: WindowPeek);
  902. \ DrawNew
  903. 5
  904. PROCEDURE DrawNew (window: WindowPeek; update: BOOLEAN);
  905. \ PaintOne
  906. 5
  907. PROCEDURE PaintOne (window: WindowPeek; clobberedRgn: RgnHandle);
  908. \ PaintBehind
  909. 5
  910. PROCEDURE PaintBehind (startWindow: WindowPeek; clobberedRgn:
  911.     RgnHandle);
  912. \ CalcVis
  913. 5
  914. PROCEDURE CalcVis (window: WindowPeek);
  915. \ CalcVisBehind
  916. 5
  917. PROCEDURE CalcVisBehind (startWindow: WindowPeek; clobberedRgn:
  918.     RegHandle;
  919. \ TrackBox
  920. 5
  921. FUNCTION TrackBox (theWindow: WindowPtr; thePt: Point;
  922.                     partCode: INTEGER) : BOOLEAN;
  923. \ ZoomWindow
  924. 5
  925. PROCEDURE ZoomWindow (theWindow: WindowPtr;
  926.                         partCode: INTEGER; front: BOOLEAN);
  927. \ NewControl
  928. 6
  929. FUNCTION NewControl (theWindow: WindowPtr; boundsRect: Rect; title:
  930.                     Str255; visible: BOOLEAN; value: INTEGER;
  931.                     min,max: INTEGER; procID: INTEGER; refCon: LongInt)
  932.                     : ControlHandle;
  933. \ GetNewControl
  934. 6
  935. FUNCTION GetNewControl (controlID: INTEGER; theWindow: WindowPtr)
  936.                         : ControlHandle;
  937. \ DisposeControl
  938. 6
  939. PROCEDURE DisposeControl (theControl: ControlHandle);
  940. \ KillControls
  941. 6
  942. PROCEDURE KillControls (theWindow: WindowPtr);
  943. \ SetCTitle
  944. 6
  945. PROCEDURE SetCTitle (theControl: ControlHandle; title: Str255);
  946. \ GetCTitle
  947. 6
  948. PROCEDURE GetCTitle (theControl: ControlHandle; VAR title: Str255);
  949. \ HideControl
  950. 6
  951. PROCEDURE HideControl (theControl: ControlHandle);
  952. \ ShowControl
  953. 6
  954. PROCEDURE ShowControl (theControl: ControlHandle);
  955. \ DrawControls
  956. 6
  957. PROCEDURE DrawControls (theWindow: WindowPtr);
  958. \ HiliteControl
  959. 6
  960. PROCEDURE HiliteControl (theControl: ControlHandle; hiliteState:
  961.                         INTEGER);
  962. \ TestControl
  963. 6
  964. FUNCTION TestControl (theControl: ControlHandle; thePoint: Point)
  965.                         :  INTEGER;
  966. \ FindControl
  967. 6
  968. FUNCTION FindControl (thePoint: Point; theWindow: WindowPtr; VAR
  969.                         whichControl: ControlHandle) : INTEGER;
  970. \ TrackControl
  971. 6
  972. FUNCTION TrackControl (theControl: ControlHandle; startPt: Point;
  973.     actionProc: ProcPtr) : INTEGER;
  974. \ MoveControl
  975. 6
  976. PROCEDURE MoveControl (theControl: ControlHandle; h,v: INTEGER);
  977. \ DragControl
  978. 6
  979. PROCEDURE DragControl (theControl: ControlHandle; startPt: Point;
  980.                         limitRect,slopRect: Rect; axis: INTEGER);
  981.  
  982. \ SizeControl
  983. 6
  984. PROCEDURE SizeControl (theControl: ControlHandle; w,h: INTEGER);
  985. \ SetCtlValue
  986. 6
  987. PROCEDURE SetCtlValue (theControl: ControlHandle; theValue: INTEGER);
  988. \ GetCtlValue
  989. 6
  990. FUNCTION GetCtlValue (theControl: ControlHandle) : INTEGER;
  991. \ SetCtlMin
  992. 6
  993. PROCEDURE SetCtlMin (theControl: ControlHandle; minValue: INTEGER;
  994. \ GetCtlMin
  995. 6
  996. FUNCTION GetCtlMin (theControl: ControlHandle) : INTEGER;
  997. \ SetCtlMax
  998. 6
  999. PROCEDURE SetCtlMax (theControl: ControlHandle; maxValue: INTEGER);
  1000. \ GetCtlMax
  1001. 6
  1002. FUNCTION GetCtlMax (theControl: ControlHandle) : INTEGER;
  1003. \ SetCRefCon
  1004. 6
  1005. PROCEDURE SetCRefCon (theControl: ControlHandle; data: LongInt);
  1006. \ GetCRefCon
  1007. 6
  1008. FUNCTION GetCRefCon (theControl: ControlHandle) : LongInt;
  1009. \ SetCtlAction
  1010. 6
  1011. PROCEDURE SetCtlAction (theControl: ControlHandle; actionProc:
  1012.                         ProcPtr);
  1013. \ GetCtlAction
  1014. 6
  1015. FUNCTION GetCtlAction (theControl: ControlHandle) : ProcPtr;
  1016. \ UpdtControl
  1017. 6
  1018. PROCEDURE UpdtControl (theWindow: WindowPtr; updateRgn: RgnHandle);
  1019. \ Draw1Control
  1020. 6
  1021. PROCEDURE Draw1Control (theControl: ControlHandle);
  1022. \ InitMenus
  1023. 7
  1024. PROCEDURE InitMenus;
  1025. \ NewMenu
  1026. 7
  1027. FUNCTION NewMenu (menuID: INTEGER; MenuTitle: Str255) : MenuHandle;
  1028. \ GetMenu
  1029. 7
  1030. FUNCTION GetMenu (resourceID: INTEGER) : MenuHandle;
  1031. \ DisposeMenu
  1032. 7
  1033. PROCEDURE DisposeMenu (theMenu: MenuHandle);
  1034. \ AppendMenu
  1035. 7
  1036. PROCEDURE AppendMenu (theMenu: MenuHandle; data: Str255);
  1037. \ AddResMenu
  1038. 7
  1039. PROCEDURE AddResMenu (theMenu: MenuHandle; theType: ResType);
  1040. \ InsertResMenu
  1041. 7
  1042. Procedure InsertResMenu (theMenu: MenuHandle; theType: ResType;
  1043. \ InsertMenu
  1044. 7
  1045. PROCEDURE InsertMenu (theMenu: MenuHandle; before ID: INTEGER);
  1046. \ DrawMenuBar
  1047. 7
  1048. PROCEDURE DrawMenuBar;
  1049. \ DeleteMenu
  1050. 7
  1051. PROCEDURE DeleteMenu (menuID: INTEGER);
  1052. \ ClearMenuBar
  1053. 7
  1054. PROCEDURE ClearMenuBar;
  1055. \ GetNewMBar
  1056. 7
  1057. FUNCTION GetNewMBar (menuBarID: INTEGER) : Handle;
  1058. \ GetMenuBar
  1059. 7
  1060. FUNCTION GetMenuBar : Handle;
  1061. \ SetMenuBar
  1062. 7
  1063. PROCEDURE SetMenuBar (menuList: Handle);
  1064. \ MenuSelect
  1065. 7
  1066. FUNCTION MenuSelect (startPt: Point) : LONGINT;
  1067. \ MenuKey
  1068. 7
  1069. FUNCTION MenuKey (ch: CHAR) : LONGINT;
  1070. \ HiliteMenu
  1071. 7
  1072. PROCEDURE HiliteMenu (menuID: INTEGER);
  1073. \ SetItem
  1074. 7
  1075. PROCEDURE SetItem (theMenu: MenuHandle; item: INTEGER; itemString:
  1076.     Str255);
  1077. \ GetItem
  1078. 7
  1079. PROCEDURE GetItem (theMenu: MenuHandle; item: INTEGER; VAR itemString:
  1080.     Str255);
  1081. \ DisableItem
  1082. 7
  1083. PROCEDURE DisableItem (theMenu: MenuHandle; item: INTEGER);
  1084. \ EnableItem
  1085. 7
  1086. PROCEDURE EnableItem (theMenu:  MenuHandle; item: INTEGER);
  1087. \ CheckItem
  1088. 7
  1089. PROCEDURE CheckItem (theMenu:  MenuHandle; item:  INTEGER; checked:
  1090.             BOOLEAN);
  1091. \ SetItemMark
  1092. 7
  1093. PROCEDURE SetItemMark (theMenu: MenuHandle; item: INTEGER; markChar:
  1094.              CHAR);
  1095. \ GetItemMark
  1096. 7
  1097. PROCEDURE GetItemMark (theMenu: MenuHandle; item: INTEGER; VAR
  1098.             markChar: CHAR);
  1099. \ SetItemIcon
  1100. 7
  1101. PROCEDURE SetItemIcon (theMenu: MenuHandle; item: INTEGER; icon: Byte);
  1102. \ GetItemIcon
  1103. 7
  1104. PROCEDURE GetItemIcon (theMenu: MenuHandle; item: INTEGER; VAR icon:
  1105.                          Byte);
  1106. \ SetItemStyle
  1107. 7
  1108. PROCEDURE SetItemStyle (theMenu: MenuHandle; item: INTEGER; chStyle:
  1109.                         Style);
  1110. \ GetItemStyle
  1111. 7
  1112. PROCEDURE GetItemStyle (theMenu: MenuHandle; item: INTEGER; VAR
  1113.                         chStyle: Style);
  1114. \ CalcMenuSize
  1115. 7
  1116. PROCEDURE CalcMenuSize (theMenu: MenuHandle);
  1117. \ CountMItems
  1118. 7
  1119. FUNCTION CountMItems (TheMenu: MenuHandle): INTEGER;
  1120. \ GetMHandle
  1121. 7
  1122. FUNCTION GetMHandle (menuID: INTEGER) : MenuHandle;
  1123. \ FlashMenuBar
  1124. 7
  1125. PROCEDURE FlashMenuBar (menuID: INTEGER);
  1126. \ SetMenuFlash
  1127. 7
  1128. PROCEDURE SetMenuFlash (count: INTEGER);
  1129. \ InsMenuItem
  1130. 7
  1131. PROCEDURE InsMenuItem (theMenu: MenuHandle; itemString: Str255;
  1132.                                                                                              afterItem: INTEGER);
  1133. \ DelMenuItem
  1134. 7
  1135. PROCEDURE DelMenuItem (theMenu: MenuHandle; item: INTEGER);
  1136. \ TEInit
  1137. 8
  1138. PROCEDURE TEInit;
  1139. \ TENew
  1140. 8
  1141. FUNCTION TENew (destRect, viewRect: Rect) : TEHandle;
  1142. \ TEDispose
  1143. 8
  1144. PROCEDURE TEDispose (hTE: TEHandle);
  1145. \ TESetText
  1146. 8
  1147. PROCEDURE TESetText (text: Ptr; length: LONGINT; hTE: TEHandle);
  1148. \ TEGetText
  1149. 8
  1150. FUNCTION TEGetText (hTE: TEHandle) : CharsHandle;
  1151. \ TEIdle
  1152. 8
  1153. PROCEDURE TEIdle (hTE: TEHandle);
  1154. \ TEClick
  1155. 8
  1156. PROCEDURE TEClick (pt: Point; extend: BOOLEAN; hTE: TEHandle);
  1157. \ TESetSelect
  1158. 8
  1159. PROCEDURE TESetSelect (selStart,selEnd: LONGINT; hTE: TEHandle);
  1160. \ TEActivate
  1161. 8
  1162. PROCEDURE TEActivate (hTE: TEHandle);
  1163. \ TEDeactivate
  1164. 8
  1165. PROCEDURE TEDeactivate (hTE: TEHandle);
  1166. \ TEKey
  1167. 8
  1168. PROCEDURE TEKey (key: CHAR; hTE: TEHandle);
  1169. \ TECut
  1170. 8
  1171. PROCEDURE TECut (hTE: TEHandle);
  1172. \ TECopy
  1173. 8
  1174. PROCEDURE TECopy (hTE: TEHandle);
  1175. \ TEPaste
  1176. 8
  1177. PROCEDURE TEPaste (hTE: TEHandle);
  1178. \ TEDelete
  1179. 8
  1180. PROCEDURE TEDelete (hTE: TEHandle);
  1181. \ TEInsert
  1182. 8
  1183. PROCEDURE TEInsert (text: Ptr; length: LONGINT; hTE: TEHandle);
  1184. \ TESetJust
  1185. 8
  1186. PROCEDURE TESetJust (just: INTEGER, hTE: TEHandle);
  1187. \ TEUpdate
  1188. 8
  1189. PROCEDURE TEUpdate (rUpdate: Rect; hTE: TEHandle);
  1190. \ TextBox
  1191. 8
  1192. PROCEDURE TextBox (text: Ptr; length: LONGINT; box: Rect; just:
  1193.             INTEGER);
  1194. \ TEScroll
  1195. 8
  1196. PROCEDURE TEScroll (dh,dv: INTEGER; hTE: TEHandle);
  1197. \ TEFromScrap
  1198. 8
  1199. FUNCTION TEFromScrap : OSErr;  [Not in ROM]
  1200. \ TEToScrap
  1201. 8
  1202. FUNCTION TEToScrap : OSErr;  [Not in ROM]
  1203. \ TEScrapHandle
  1204. 8
  1205. FUNCTION TEScrapHandle : Handle;  [Not in ROM]
  1206. \ TEGetScrapLen
  1207. 8
  1208. FUNCTION TEGetScrapLen : LONGINT; [Not in ROM]
  1209. \ TESetScrapLen
  1210. 8
  1211. PROCEDURE TESetScrapLen (length: LONGINT); [Not in ROM]
  1212. \ TECalText
  1213. 8
  1214. PROCEDURE TECalText (hTE: TEHandle);
  1215. \ TESelView
  1216. 8
  1217. PROCEDURE TESelView (hTE: TEHandle);
  1218. \TEPinScroll
  1219. 8
  1220. PROCEDURE TEPinScroll (dh,dv: INTEGER; hTE: TEHandle);
  1221. \TEAutoView
  1222. 8
  1223. PROCEDURE TEAutoView (auto: BOOLEAN; hTE: TEHandle);
  1224. \ InitDialogs
  1225. 9
  1226. PROCEDURE InitDialogs (restartProc: ProcPtr);
  1227. \ ErrorSound
  1228. 9
  1229. PROCEDURE ErrorSound (soundProc: ProcPtr);
  1230. \ SetDAFont
  1231. 9
  1232. PROCEDURE SetDAFont (fontNum: INTEGER);  [Pascal only]
  1233. \ NewDialog
  1234. 9
  1235. FUNCTION NewDialog (dStorage: Ptr; boundsRect: Rect; title: Str255;
  1236.             visible: BOOLEAN; procID: INTEGER; behind: WindowPtr;
  1237.         goAwayFlag: BOOLEAN; refCon: LongInt; items: Handle) :
  1238.         DialogPtr;
  1239. \ GetNewDialog
  1240. 9
  1241. FUNCTION GetNewDialog (dialogID: INTEGER; dStorage: Ptr; behind:
  1242.             WindowPtr) : DialogPtr;
  1243. \ CloseDialog
  1244. 9
  1245. PROCEDURE CloseDialog (theDialog: DialogPtr);
  1246. \ DisposDialog
  1247. 9
  1248. PROCEDURE DisposDialog (theDialog: DialogPtr);
  1249. \ CouldDialog
  1250. 9
  1251. PROCEDURE CouldDialog (dialogID:  INTEGER);
  1252. \ FreeDialog
  1253. 9
  1254. PROCEDURE FreeDialog (dialogID: INTEGER);
  1255. \ ModalDialog
  1256. 9
  1257. PROCEDURE ModalDialog (filterProc: ProcPtr; VAR itemHit: INTEGER);
  1258. \ IsDialogEvent
  1259. 9
  1260. FUNCTION IsDialogEvent (theEvent: EventRecord) : BOOLEAN;
  1261. \ DialogSelect
  1262. 9
  1263. FUNCTION DialogSelect (theEvent: EventRecord; VAR theDialog: DialogPtr;
  1264.             VAR itemHit: INTEGER) : BOOLEAN;
  1265. \ DlgCut
  1266. 9
  1267. PROCEDURE DlgCut (theDialog: DialogPtr);   [Pascal only]
  1268. \ DlgCopy
  1269. 9
  1270. PROCEDURE DlgCopy (theDialog: DialogPtr);   [Pascal only]
  1271. \ DlgPaste
  1272. 9
  1273. PROCEDURE DlgPaste (theDialog: DialogPtr);   [Pascal only]
  1274. \ DlgDelete
  1275. 9
  1276. PROCEDURE DlgDelete (theDialog: DialogPtr);   [Pascal only]
  1277. \ DrawDialog
  1278. 9
  1279. PROCEDURE DrawDialog (theDialog: DialogPtr);
  1280. \ Alert
  1281. 9
  1282. FUNCTION Alert (alertID: INTEGER; filterProc: ProcPtr) : INTEGER;
  1283. \ StopAlert
  1284. 9
  1285. FUNCTION StopAlert (alertID: INTEGER; filterProc: ProcPtr) : INTEGER;
  1286. \ NoteAlert
  1287. 9
  1288. FUNCTION NoteAlert (alertID: INTEGER; filterProcf: ProcPtr) : INTEGER;
  1289. \ CautionAlert
  1290. 9
  1291. FUNCTION CautionAlert (alertID: INTEGER; filterProc: ProcPtr) :
  1292.            INTEGER;
  1293. \ CouldAlert
  1294. 9
  1295. PROCEDURE CouldAlert (alertID: INTEGER);
  1296. \ FreeAlert
  1297. 9
  1298. PROCEDURE FreeAlert (alertID: INTEGER);
  1299. \ ParamText
  1300. 9
  1301. PROCEDURE ParamText (param0,param1,param2,param3: Str255);
  1302. \ GetDItem
  1303. 9
  1304. PROCEDURE GetDItem (theDialog: DialogPtr; itemNo: INTEGER; VAR type:
  1305.                     INTEGER; VAR item: Handle; VAR box: Rect);
  1306. \ SetDItem
  1307. 9
  1308. PROCEDURE SetDItem (theDialog: DialogPtr; itemNo: INTEGER; type:
  1309.             INTEGER; item: Handle; box: rect);
  1310. \ GetIText
  1311. 9
  1312. PROCEDURE GetIText (item: Handle; VAR text: str255);
  1313. \ SetIText
  1314. 9
  1315. PROCEDURE SetIText (item: Handle; text: Str255);
  1316. \ SelIText
  1317. 9
  1318. PROCEDURE SelIText (theDialog: DIalogPtr; itemNo: INTEGER;
  1319.            strtSel,endSel: INTEGER);
  1320. \ GetAlrtStage
  1321. 9
  1322. FUNCTION GetAlrtStage : INTEGER;   [Pascal only]
  1323. \ ResetAlrtStage
  1324. 9
  1325. PROCEDURE ResetAlrtStage;   [Pascal only]
  1326. \ HideDItem
  1327. 9
  1328. PROCEDURE HideDItem (theDialog: DialogPtr; itemNo: INTEGER);
  1329. \ ShowDItem
  1330. 9
  1331. PROCEDURE ShowDItem (theDialog: DialogPtr; itemNo: INTEGER);
  1332. \FindDItem
  1333. 9
  1334. FUNCTION FindDItem (theDialog: DialogPtr; thePt: Point) : INTEGER;
  1335. \UpdtDialog
  1336. 9
  1337. PROCEDURE UpdtDialog (theDialog: DialogPtr; updateRgn: RgnHandle);
  1338. \ OpenDeskAcc
  1339. 10
  1340. FUNCTION OpenDeskAcc (theAcc: Str255) : INTEGER;
  1341. \ CloseDeskAcc
  1342. 10
  1343. PROCEDURE CloseDeskAcc (refNum: INTEGER);
  1344. \ SystemClick
  1345. 10
  1346. PROCEDURE SystemClick (theEvent: EventRecord; theWindow: WindowPtr);
  1347. \ SystemEdit
  1348. 10
  1349. FUNCTION SystemEdit (editCmd: INTEGER) : BOOLEAN;
  1350. \ SystemTask
  1351. 10
  1352. PROCEDURE SystemTask;
  1353. \ SystemEvent
  1354. 10
  1355. FUNCTION SystemEvent (theEvent: EventRecord) : BOOLEAN;
  1356. \ SystemMenu
  1357. 10
  1358. PROCEDURE SystemMenu (menuResult: LONGINT);
  1359. \ InfoScrap
  1360. 11
  1361. FUNCTION InfoScrap : PScrapStuff;
  1362. \ UnloadScrap
  1363. 11
  1364. FUNCTION UnloadScrap : LONGINT;
  1365. \ LoadScrap
  1366. 11
  1367. FUNCTION LoadScrap : LONGINT;
  1368. \ GetScrap
  1369. 11
  1370. FUNCTION GetScrap (hDest: Handle; theType: ResType; VAR offset:
  1371.                     LONGINT) : LONGINT;
  1372. \ ZeroScrap
  1373. 11
  1374. FUNCTION ZeroScrap : LONGINT;
  1375. \ PutScrap
  1376. 11
  1377. FUNCTION PutScrap (length: LONGINT; theType: ResType; source: Ptr) :
  1378.               LONGINT;
  1379. \ FixRatio
  1380. 12
  1381. FUNCTION FixRatio (numer,demon: INTEGER) : Fixed;
  1382. \ FixMul
  1383. 12
  1384. FUNCTION  FixMul (a,b: Fixed) : Fixed;
  1385. \ FixRound
  1386. 12
  1387. FUNCTION FixRound (x: Fixed) : INTEGER;
  1388. \ NewString
  1389. 12
  1390. FUNCTION NewString (theString: Str255) : StringHandle;
  1391. \ SetString
  1392. 12
  1393. PROCEDURE SetString (h: StringHandle; theString: Str255);
  1394. \ GetString
  1395. 12
  1396. FUNCTION GetString (stringID: INTEGER) : StringHandle;
  1397. \ GetIndString
  1398. 12
  1399. PROCEDURE GetIndString (VAR theString: Str255; strListID: INTEGER;
  1400.              Index: INTEGER);    [No trap macro]
  1401. \ Munger
  1402. 12
  1403. FUNCTION Munger (h: Handle; offset: LONGINT; ptrl: Ptr; lenl: LONGINT;
  1404.                     ptr2: Ptr; len2: LONGINT) : LONGINT;
  1405. \ PackBits
  1406. 12
  1407. PROCEDURE PackBits (VAR srcPtr,DstPtr: Ptr; srcBytes: INTEGER);
  1408. \ UnpackBits
  1409. 12
  1410. PROCEDURE UnpackBits (VAR SrcPtr, DstPtr: Ptr; dstBytes: Integer);
  1411. \ BitTst
  1412. 12
  1413. FUNCTION BitTst (BytePtr: Ptr; bitNum: Longint): Boolean;
  1414. \ BitSet
  1415. 12
  1416. PROCEDURE BitSet (BytePtr: Ptr; bitNum: Longint);
  1417. \ BitClear
  1418. 12
  1419. PROCEDURE BitClear (BytePtr: Ptr; bitNum: Longint);
  1420. \ BitAnd
  1421. 12
  1422. FUNCTION BitAnd (Value1, Value2: Longint): Longint;
  1423. \ BitOr
  1424. 12
  1425. FUNCTION BitOr (Value1, Value2: Longint): Longint;
  1426. \ BitXor
  1427. 12
  1428. FUNCTION BitXor (Value1, Value2: Longint): Longint;
  1429. \ BitNot
  1430. 12
  1431. FUNCTION BitNot (Value: Longint): Longint;
  1432. \ BitShift
  1433. 12
  1434. FUNCTION BitShift (Value: Longint; count: Integers): Longint;
  1435. \ HiWord
  1436. 12
  1437. FUNCTION HiWord (x: Longint): Integer;
  1438. \ LoWord
  1439. 12
  1440. FUNCTION LoWord (x: Longint): Integer;
  1441. \ LongMul
  1442. 12
  1443. PROCEDURE LongMul (a,b: Longint; VAR dest: Int64bit);
  1444. \ ScreenRes
  1445. 12
  1446. PROCEDURE ScreenRes (VAR scrnHRes, scrnVRes: Integer); [Not in ROM]
  1447. \ GetIcon
  1448. 12
  1449. FUNCTION GetIcon (IconId: Integer): Handle;
  1450. \ PlotIcon
  1451. 12
  1452. PROCEDURE PlotIcon (TheRect: Rect; TheIcon: Handle);
  1453. \ GetPattern
  1454. 12
  1455. FUNCTION GetPattern (PatID: Integer): PatHandle;
  1456. \ GetIndPattern
  1457. 12
  1458. Function GetIndPattern (VAR ThePattern: Patter; PatLisId: Integer; Index:
  1459.                         Integer);  [Not in ROM]
  1460. \ GetCursor
  1461. 12
  1462. FUNCTION GetCursor (CursorID: Integer): CursHandle;
  1463. \ ShieldCursor
  1464. 12
  1465. PROCEDURE ShieldCursor (shieldRect: Rect; OffsetPt: Point);
  1466. \ GetPicture
  1467. 12
  1468. FUNCTION GetPicture (PicID: Integer): PicHandle;
  1469. \ DeltaPoint
  1470. 12
  1471. FUNCTION DeltaPoint (ptA, ptB: Point): Longint;
  1472. \ SlopeFromAngle
  1473. 12
  1474. FUNCTION SlopeFromAngle (Angle: Integer): Fixed;
  1475. \ AngleFromSlope
  1476. 12
  1477. Function AngleFromSlope (Slope: Fixed): Integer;
  1478. \ FracMul
  1479. 12
  1480. FUNCTION FracMul (x,y: Fract) : Fract;
  1481. \FracDiv
  1482. 12
  1483. FUNCTION FracDiv (x,y: Fract) : Fract;
  1484. \FracSqrt
  1485. 12
  1486. FUNCTION FracSqrt (x: Fract) : Fract;
  1487. \FracCos
  1488. 12
  1489. FUNCTION FracCos (x: Fixed) : Fract;
  1490. \FracSin
  1491. 12
  1492. FUNCTION FracSin (x: Fixed) : Fract;
  1493. \FixATan2
  1494. 12
  1495. FUNCTION FixATan2 (x,y: LONGINT) : Fixed;
  1496. \Long2Fix
  1497. 12
  1498. FUNCTION Long2Fix (x: LONGINT) : Fixed;
  1499. \Fix2Long
  1500. 12
  1501. FUNCTION Fix2Long (x: Fixed) : LONGINT;
  1502. \Fix2Frac
  1503. FUNCTION Fix2Frac (x: Fixed) : Fract;
  1504. \Frac2Fix
  1505. 12
  1506. FUNCTION Frac2Fix (x: Fract) : Fixed;
  1507. \Fix2X
  1508. 12
  1509. FUNCTION Fix2X  (x: Fixed) : Extended;
  1510. \X2Fix
  1511. 12
  1512. FUNCTION X2Fix  (x: Extended) : Fixed;
  1513. \Frac2X
  1514. 12
  1515. FUNCTION Frac2X (x: Fract) : Extended;
  1516. \X2Frac
  1517. 12
  1518. FUNCTION X2Frac (x: Extended) : Fract;
  1519. \ InitPack
  1520. 13
  1521. PROCEDURE InitPack (packID: INTEGER);
  1522. \ InitAllPacks
  1523. 13
  1524. PROCEDURE InitAllPacks;
  1525. \ IUDateString
  1526. 13
  1527. PROCEDURE IUDateString (dateTime: LongInt; form: DateForm; VAR result:
  1528.                         Str255);
  1529. \ IUDatePString
  1530. 13
  1531. PROCEDURE IUDatePString (dateTime: LongInt; form: DateForm; VAR result:
  1532.             Str255; intlParam: Handle);
  1533. \ IUTimeString
  1534. 13
  1535. PROCEDURE IUTimeSTring (dateTime: LongInt; wantSeconds: BOOLEAN; VAR
  1536.             result: Str255);
  1537. \ IUTimePString
  1538. 13
  1539. PROCEDURE IUTimePString (dateTime: LongInt; wantSeconds: BOOLEAN; VAR
  1540.             result: str255; intlParam: Handle);
  1541. \ IUMetric
  1542. 13
  1543. FUNCTION IUMetric : BOOLEAN;
  1544. \ IUGetIntl
  1545. 13
  1546. FUNCTION IUGetIntl (theID: INTEGER) : Handle;
  1547. \ IUSetIntl
  1548. 13
  1549. PROCEDURE IUSetIntl (refNum: INTEGER; thefID; INTEGER; intlParam:
  1550.             Handle);
  1551. \ IUCompString
  1552. 13
  1553. FUNCTION IUCompString (aStr,bStr: Str255) : INTEGER;  [Pascal only]
  1554. \ IUMagString
  1555. 13
  1556. FUNCTION IUMagString (aPtr,bPtr: Ptr; aLen,bLen: INTEGER) : INTEGER;
  1557. \ IUEqualString
  1558. 13
  1559. FUNCTION IUEqualString (aStr,bStr: Str255) : INTEGER;   [Pascal only]
  1560. \ IUMagIDString
  1561. 13
  1562. \ NumToString
  1563. 13
  1564. PROCEDURE NumToString (theNum: LongInt; VAR theStringd: Str255);
  1565. \ StringToNum
  1566. 13
  1567. PROCEDURE StringToNum (theString: Str255; VAR theNum: LongInt);
  1568. \ SFPutFile
  1569. 13
  1570. PROCEDURE SFPutFile (where: Point; prompt: Str255; origName: Str255;
  1571.                     dlgHook: ProPtr; VAR reply: SFReply);
  1572. \ SFPPutFile
  1573. 13
  1574. PROCEDURE SFPPutFile (where: Point; prompt: SStr255; origNmae: Str255;
  1575.              dlgHook: ProcPtr; VAR reply: SFReply; dlgID: INTEGER;
  1576.          filterProc: ProcPtr);
  1577. \ SFGetFile
  1578. 13
  1579. PROCEDURE SFGetFile (where: Point; prompt: Str255; fileFilter: ProcPtr;
  1580.                     numTypes: INTEGER; typeList: SFTypeList;
  1581.                     dlgHook: ProcPtr; VAR reply: SFReply);
  1582. \ SFPGetFile
  1583. 13
  1584. PROCEDURE SFPGetFile (where: Point; prompt: Str255; fileFilter:
  1585.             ProcPtr; numTypes: INTEGER; typeList: SFTypeList; dlgHook:
  1586.         ProcPtr; VAR reply: SFReply; dlgID: INTEGER; filterProc:
  1587.         ProcPtr);
  1588. \ DILoad
  1589. 13
  1590. PROCEDURE DILoad;
  1591. \ DIUnload
  1592. 13
  1593. PROCEDURE DIUnload;
  1594. \ DIBadMount
  1595. 13
  1596. FUNCTION DIBadMount (where: Point; evtMessage: LongInt) : INTEGER;
  1597. \ DIFormat
  1598. 13
  1599. FUNCTION DIFormat (drvNum: INTEGER) : OSErr;
  1600. \ DIVerify
  1601. 13
  1602. FUNCTION DIVerify (drvNum: INTEGER) : OSErr;
  1603. \ DIZero
  1604. 13
  1605. FUNCTION DIZero (drvNum: INTEGER; volName: Str255) : OSErr;
  1606. \ InitApplZone
  1607. 14
  1608. PROCEDURE InitApplZone;
  1609. \ SetApplBase
  1610. 14
  1611. PROCEDURE SetApplBase (startPtr: Ptr);
  1612. \ InitZone
  1613. 14
  1614. PROCEDURE InitZone (pGrowZone: ProcPtr; cMoreMasters: INTEGER;
  1615.                     limitPtr, startPtr: Ptr);
  1616. \ SetApplLimit
  1617. 14
  1618. PROCEDURE SetApplLimit (zoneLimit: Ptr);
  1619. \ MoreMasters
  1620. 14
  1621. PROCEDURE MoreMasters;
  1622. \ GetZone
  1623. 14
  1624. FUNCTION GetZone:  THz;
  1625. \ SetZone
  1626. 14
  1627. PROCEDURE SetZone (hz: THz);
  1628. \ SystemZone
  1629. 14
  1630. FUNCTION SystemZone : THz;       [No trap macro]
  1631. \ ApplicZone
  1632. 14
  1633. PROCEDURE ApplicZone : THz;  [No trap macro]
  1634. \ NewHandle
  1635. 14
  1636. FUNCTION NewHandle (logicalSize: Size) : Handle;
  1637. \ DisposHandle
  1638. 14
  1639. PROCEDURE DisposHandle (h: Handle);
  1640. \ GetHandleSize
  1641. 14
  1642. FUNCTION GetHandleSize (h: Handle) : Size;
  1643. \ SetHandleSize
  1644. 14
  1645. PROCEDURE SetHandleSize (h: Handle; newSize: Size);
  1646. \ HandleZone
  1647. 14
  1648. FUNCTION HandleZone (h: Handle) : THz;
  1649. \ RecoverHandle
  1650. 14
  1651. FUNCTION RecoverHandle (p:Ptr) : Handle;
  1652. \ ReallocHandle
  1653. 14
  1654. PROCEDURE ReallocHandle (h: Handle; logicalSize: Size);
  1655. \ NewPtr
  1656. 14
  1657. FUNCTION NewPtr (logicalSize: Size) : Ptr;
  1658. \ DisposPtr
  1659. 14
  1660. PROCEDURE DisposPtr (p: Ptr);
  1661. \ GetPtrSize
  1662. 14
  1663. FUNCTION GetPtrSize (p: Ptr) : Size;
  1664. \ SetPtrSize
  1665. 14
  1666. PROCEDURE SetPtrSize (p: Ptr; newSize: Size);
  1667. \ FreeMem
  1668. 14
  1669. FUNCTION FreeMem : LONGINT;
  1670. \ MaxMem
  1671. 14
  1672. FUNCTION MaxMem (VAR grow: Size) : Size;
  1673. \ CompactMem
  1674. 14
  1675. FUNCTION CompactMem (cbNeeded: Size) : Size;
  1676. \ ResrvMem
  1677. 14
  1678. FUNCTION ResrvMem (cbNeeded: Size);
  1679. \ PurgeMem
  1680. 14
  1681. PROCEDURE PurgeMem (cbNeeded: Size);
  1682. \ EmptyHandle
  1683. 14
  1684. PROCEDURE EmptyHandle (h: Handle);
  1685. \ HLock
  1686. 14
  1687. PROCEDURE HLock (h: Handle);
  1688. \ HUnlock
  1689. 14
  1690. PROCEDURE HUnlock (h: Handle);
  1691. 14
  1692. PROCEDURE HPurge (h: Handle);
  1693. \ HNoPurge
  1694. 14
  1695. PROCEDURE HNoPurge (h: Handle);
  1696. \ SetGrowZone
  1697. 14
  1698. PROCEDURE SetGrowZone (growZone: ProcPtr);
  1699. \ GZCritical
  1700. 14
  1701. FUNCTION GZCritical : BOOLEAN;    [No trap macro]
  1702. \ GZSaveHnd
  1703. 14
  1704. FUNCTION GZSaveHnd : Handle;   [No trap macro]
  1705. \ BlockMove
  1706. 14
  1707. PROCEDURE BlockMove (sourcePtr,destPtr: Ptr; byteCount: Size);
  1708. \ TopMem
  1709. 14
  1710. FUNCTION TopMem : Ptr;   [No trap macro]
  1711. \ MemError
  1712. 14
  1713. FUNCTION MemError : OSErr;   [No trap macro]
  1714. \MaxBlock
  1715. 14
  1716. FUNCTION MaxBlock : LONGINT;
  1717. \PurgeSpace
  1718. 14
  1719. PROCEDURE PurgeSpace (VAR total,contig: LONGINT);
  1720. \StackSpace
  1721. 14
  1722. FUNCTION StackSpace : LONGINT;
  1723. \NewEmptyHandle
  1724. 14
  1725. FUNCTION NewEmptyHandle : Handle;
  1726. \HSetRBit
  1727. 14
  1728. PROCEDURE HSetRBit (h: Handle);
  1729. \HClrRBit
  1730. 14
  1731. PROCEDURE HClrRBit (h: Handle);
  1732. \HGetState
  1733. 14
  1734. FUNCTION HGetState (h: Handle) : SignedByte;
  1735. \HSetState
  1736. 14
  1737. PROCEDURE HSetState (h: Handle; flags: SignedByte);
  1738. \ UnloadSeg
  1739. 15
  1740. PROCEDURE UnloadSeg (routineAddr: Ptr);
  1741. \ CountAppFiles
  1742. 15
  1743. PROCEDURE COuntAppFiles (VAR message:  INTEGER; VAR count: INTEGER);
  1744. \ GetAppFiles
  1745. 15
  1746. PROCEDURE GetAppFiles (index: INTEGER; VAR theFile: AppFile);
  1747. \ ClrAppFiles
  1748. 15
  1749. PROCEDURE ClrAppFiles (index: INTEGER);
  1750. \ GetAppParms
  1751. 15
  1752. PROCEDURE GetAppParms (VAR apName: STRING[31]; VAR apRefNum: INTEGER;
  1753.         VAR apParam: Handle);
  1754. \ ExitToShell
  1755. 15
  1756. PROCEDURE ExitToShell;
  1757. \ Chain
  1758. 15
  1759. Chain procedure
  1760.     Trap Macro    _Chain
  1761.  
  1762.     On entry      (A0): Pointer to application's file name.
  1763.                              4(A0): Configuration of sound and screen buffer (word).
  1764. \ Launch
  1765. 15
  1766. Procedure Launch
  1767.     
  1768.                 Trap Macro    _Launch
  1769.                 On Entry      (A0): Pointer to appl file's name.
  1770.                              4(A0): configuration of sound and screen buffers (word).
  1771.  
  1772. \ GetOSEvent
  1773. 16
  1774. FUNCTION GetOSEvent (eventMask: INTEGER; VAR theEvent: EventRecord) :
  1775.                         BOOLEAN;
  1776. \ OSEventAvail
  1777. 16
  1778. FUNCTION OSEventAvail (eventMask: INTEGER; VAR theEvent: EventRecord) :
  1779.                         BOOLEAN;
  1780. \ SetEventMask
  1781. 16
  1782. PROCEDURE SetEventMask (theMask: INTEGER);  [No trap macro]
  1783. \ GetEvQHdr
  1784. 16
  1785. FUNCTION GetEvQHdr : QHdrPtr;  [No trap macro]
  1786. \ PPostEvent
  1787. 16
  1788. FUNCTION PPostEvent (eventCode: INTEGER; eventMsg: LONGINT;
  1789.                         VAR qEl: EvQEl) : OSErr);
  1790. \ FlushEvents
  1791. 16
  1792. Procedure (eventMask, stopMask: Integer);
  1793. \ GetVInfo
  1794. 17
  1795. FUNCTION GetVInfo (drvNum: INTEGER; volName: StringPtr;
  1796.                   VAR vRefNum: INTEGER; VAR freeBytes: LONGINT)
  1797.                   : OSErr;  [Not in ROM]
  1798. \ GetVRefNum
  1799. 17
  1800. FUNCTION GetVRefNum (pathRefNum: INTEGER; VAR vRefNum: INTEGER)
  1801.                     : OSErr;  [Not in ROM]
  1802. \ GetVol
  1803. 17
  1804. FUNCTION GetVol (volName: StringPtr; VAR vRefNum: INTEGER)
  1805.                 : OSErr;  [Not in ROM]
  1806. \ SetVol
  1807. 17
  1808. FUNCTION SetVol (volName: StringPtr; vRefNum: INTEGER)
  1809.                 : OSErr;  [Not in ROM]
  1810. \ FlushVol
  1811. 17
  1812. FUNCTION FlushVol (volName: StringPtr; vRefNum: INTEGER)
  1813.                     : OSErr;  [Not in ROM]
  1814. \ UnmountVol
  1815. 17
  1816. FUNCTION UnmountVol (volName: StringPtr; vRefNum: INTEGER)
  1817.                     : OSErr;  [Not in ROM]
  1818. \ Eject
  1819. 17
  1820. FUNCTION Eject (volName: StringPtr; vRefNum: INTEGER)
  1821.                 : OSErr;  [Not in ROM]
  1822. \ Create
  1823. 17
  1824. FUNCTION Create (fileName: Str255; vRefNum: INTEGER; creator: OSType;
  1825.                 fileType: OSType) : OSErr;  [Not in ROM]
  1826. \ FSOpen
  1827. 17
  1828. FUNCTION FSOpen (fileName: Str255; vRefNum: INTEGER; VAR refNum: INTEGER)
  1829.                 : OSErr;  [Not in ROM]
  1830. \ FSRead
  1831. 17
  1832. FUNCTION FSRead (refNum: INTEGER; VAR count: LONGINT; buffPtr: Ptr)
  1833.                 : OSErr;  [Not in ROM]
  1834. \ FSWrite
  1835. 17
  1836. FUNCTION FSWrite (refNum: INTEGER; VAR count: LONGINT; buffPtr: Ptr)
  1837.                     : OSErr;  [Not in ROM]
  1838. \ GetFPos
  1839. 17
  1840. FUNCTION GetFPos (refNum: INTEGER; VAR filePos: LONGINT)
  1841.                 : OSErr;  [Not in ROM]
  1842. \ SetFPos
  1843. 17
  1844. FUNCTION SetFPos (refNum: INTEGER; posMode: INTEGER; posOff: LONGINT)
  1845.                     : OSErr;  [Not in ROM]
  1846. \ GEtEOF
  1847. 17
  1848. FUNCTION GetEOF (refNum: INTEGER; VAR logEOF: LONGINT)
  1849.                 : OSErr;  [Not in ROM]
  1850.  
  1851.     GetEOF returns, in logEOF, the logical end-of-file of the open
  1852. file whose access path is specified by refNum.
  1853.  
  1854. Result codes    noErr       No error
  1855.                 extFSErr    External file system
  1856.                 fnOpnErr    File not open
  1857.                 ioErr       I/O error
  1858.                 rfNumErr    Bad reference number
  1859. \ SetEOF
  1860. 17
  1861. FUNCTION SetEOF (refNum: INTEGER; logEOF: LONGINT)
  1862.                 : OSErr;  [Not in ROM]
  1863. \ Allocate
  1864. 17
  1865. FUNCTION Allocate (refNum: INTEGER; VAR count: LONGINT)
  1866.                     : OSErr;  [Not in ROM]
  1867. \ FSClose
  1868. 17
  1869. FUNCTION FSClose (refNum: INTEGER) : OSErr;  [Not in ROM]
  1870. \ GetFInfo
  1871. 17
  1872. FUNCTION GetFInfo (fileName: Str255; vRefNum: INTEGER; VAR
  1873.                     fndrInfo: FInfo) : OSErr;  [Not in ROM]
  1874. \ SetFInfo
  1875. 17
  1876. FUNCTION SetFInfo (fileName: Str255; vRefNum: INTEGER;
  1877.                     fndrInfo: FInfo) : OSErr;  [Not in ROM]
  1878. \ SetFLock
  1879. 17
  1880. FUNCTION SetFLock (fileName: Str255; vRefNum: INTEGER)
  1881.                 : OSErr;  [Not in ROM]
  1882. \ RstFLock
  1883. 17
  1884. FUNCTION RstFLock (fileName: Str255; vRefNum: INTEGER)
  1885.                     : OSErr;  [Not in ROM]
  1886. \ Rename
  1887. 17
  1888. FUNCTION Rename (oldName: Str255; vRefNum: INTEGER; newName: Str255)
  1889.                 : OSErr;  [Not in ROM]
  1890. \ FSDelete
  1891. 17
  1892. FUNCTION FSDelete (fileName: Str255; vRefNum: INTEGER)
  1893.                     : OSErr;  [Not in ROM]
  1894. \ OpenRF
  1895. 17
  1896. FUNCTION OpenRF (fileName: Str255; vRefNum: INTEGER;
  1897.                 VAR refNum: INTEGER) : OSErr;  [Not in ROM]
  1898. \ FInitQueue
  1899. 17
  1900. PROCEDURE InitQueue;
  1901. \ PBMountVol
  1902. 17
  1903. FUNCTION PBMountVol (paramBlock: ParmBlkPtr) : OSErr;
  1904.  
  1905. Trap macro  _MountVol
  1906.  
  1907. Parameter block
  1908.     <╤  16  ioResult    word
  1909.     <╨> 22  ioVRefNum   word
  1910. \ PBGetVInfo
  1911. 17
  1912. FUNCTION PBGetVInfo (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
  1913.  
  1914. Trap macro  _GetVolInfo
  1915.  
  1916. Parameter block
  1917.     ╤>  12      ioCompletion    pointer
  1918.     <╤  16      ioResult        word
  1919.     <╨> 18      ioNamePtr       pointer
  1920.     <╨> 22      ioVRefNum       word
  1921.     ╤>  28      ioVolIndex      word
  1922.     <╤  30      ioVCrDate       long word
  1923.     <╤  34      ioVLsBkUp       long word
  1924.     <╤  38      ioVAtrb         word
  1925.     <╤  40      ioVNmFls        word
  1926.     <╤  42      ioVDirSt        word
  1927.     <╤  44      ioVBlLn         word
  1928.     <╤  46      ioVNmAlBlks     word
  1929.     <╤  48      ioVAlBlkSiz     long word
  1930.     <╤  52      ioVClpSiz       long word
  1931.     <╤  56      ioAlBlSt        word
  1932.     <╤  58      ioVNxtFNum      long word
  1933.     <╤  62      ioVFrBlk        word
  1934. \ PBHGetVInfo
  1935. 17
  1936. FUNCTION PBHGetVInfo (paramBlock: HParmBlkPtr; async: BOOLEAN) : OSErr;
  1937.  
  1938. Trap macro  _HGetVInfo
  1939.  
  1940. Parameter block
  1941.     ╤>  12  ioCompletion    pointer
  1942.     <╤  16  ioResult        word
  1943.     <╨> 18  ioNamePtr       pointer
  1944.     <╨> 22  ioVRefNum       word
  1945.     ╤>  28  ioVolIndex      word
  1946.     <╤  30  ioVCrDate       long word
  1947.     <╤  34  ioVLsMod        long word
  1948.     <╤  38  ioVAtrb         word
  1949.     <╤  40  ioVNmFls        word
  1950.     <╤  42  ioVBitMap       word
  1951.     <╤  44  ioVAllocPtr     word
  1952.     <╤  46  ioVNmAlBlks     word
  1953.     <╤  48  ioVAlBlkSiz     long word
  1954.     <╤  52  ioVClpSiz       long word
  1955.     <╤  56  ioAlBlSt        word
  1956.     <╤  58  ioVNxtFNum      long word
  1957.     <╤  62  ioVFrBlk        word
  1958.     <╤  64  ioVSigWord      word
  1959.     <╤  66  ioVDrvInfo      word
  1960.     <╤  68  ioVDRefNum      word
  1961.     <╤  70  ioVFSID         word
  1962.     <╤  72  ioVBkUp         long word
  1963.     <╤  76  ioVSeqNum       word
  1964.     <╤  78  ioVWrCnt        long word
  1965.     <╤  82  ioVFilCnt       long word
  1966.     <╤  86  ioVDirCnt       long word
  1967.     <╤  90  ioVFndrInfo     32 bytes
  1968. \ PBSetVInfo
  1969. 17
  1970. FUNCTION PBSetVInfo (paramBlock: HParmBlkPtr; async: BOOLEAN) : OSErr;
  1971.  
  1972. Trap macro  _SetVolInfo
  1973.  
  1974. Parameter block
  1975.     ╤>  12  ioCompletion    pointer
  1976.     <╤  16  ioResult        word
  1977.     ╤>  18  ioNamePtr       pointer
  1978.     ╤>  22  ioVRefNum       word
  1979.     ╤>  30  ioVCrDate       long word
  1980.     ╤>  34  ioVLsMod        long word
  1981.     ╤>  38  ioVAtrb         word
  1982.     ╤>  52  ioVClpSiz       long word
  1983.     ╤>  72  ioVBkUp         long word
  1984.     ╤>  76  ioVSeqNum       word
  1985.     ╤>  90  ioVFndrInfo     32 bytes
  1986. \ PBGetVol
  1987. 17
  1988. FUNCTION PBGetVol (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
  1989.  
  1990. Trap macro  _GetVol
  1991.  
  1992. Parameter block
  1993.     ╤>  12  ioCompletion    pointer
  1994.     <╤  16  ioResult        word
  1995.     <╤  18  ioNamePtr       pointer
  1996.     <╤  22  ioVRefNum       word
  1997. \ PBHGetVol
  1998. 17
  1999. FUNCTION PBHGetVol (paramBlock: WDPBPtr; async: BOOLEAN) : OSErr;
  2000.  
  2001. Trap macro  _HGetVol
  2002.  
  2003. Parameter block
  2004.     ╤>  12  ioCompletion    pointer
  2005.     <╤  16  ioResult        word
  2006.     <╤  18  ioNamePtr       pointer
  2007.     <╤  22  ioVRefNum       word
  2008.     <╤  28  ioWDProcID      long word
  2009.     <╤  32  ioWDVRefNum     word
  2010.     <╤  48  ioWDDirID       long word
  2011. \ PBSetVol
  2012. 17
  2013. FUNCTION PBSetVol (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
  2014.  
  2015. Trap macro  _SetVol
  2016.  
  2017. Parameter block
  2018.     ╤>  12  ioCompletion    pointer
  2019.     <╤  16  ioResult        word
  2020.     ╤>  18  ioNamePtr       pointer
  2021.     ╤>  22  ioVRefNum       word
  2022. \ PBHSetVol
  2023. 17
  2024. FUNCTION PBHSetVol (paramBlock: WDPBPtr; async: BOOLEAN) : OSErr;
  2025.  
  2026. Trap macro  _HSetVol
  2027.  
  2028. Parameter block
  2029.     ╤>  12  ioCompletion    pointer
  2030.     <╤  16  ioResult        word
  2031.     ╤>  18  ioNamePtr       pointer
  2032.     ╤>  22  ioVRefNum       word
  2033.     ╤>  48  ioWDDirID       long word
  2034. \ PBFlushVol
  2035. 17
  2036. FUNCTION PBFlushVol (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
  2037.  
  2038. Trap macro  _FlushVol
  2039.  
  2040. Parameter block
  2041.     ╤>  12  ioCompletion    pointer
  2042.     <╤  16  ioResult        word
  2043.     ╤>  18  ioNamePtr       pointer
  2044.     ╤>  22  ioVRefNum       word
  2045. \ PBUnmountVol
  2046. 17
  2047. FUNCTION PBUnmountVol (paramBlock: ParmBlkPtr) : OSErr;
  2048.  
  2049. Trap macro  _UnmountVol
  2050.  
  2051. Parameter block
  2052.     <╤  16  ioResult    word
  2053.     ╤>  18  ioNamePtr   pointer
  2054.     ╤>  22  ioVRefNum   word
  2055. \ PBOffLine
  2056. 17
  2057. FUNCTION PBOffLine (paramBlock: ParmBlkPtr) : OSErr;
  2058.  
  2059. Trap macro  _OffLine
  2060.  
  2061. Parameter block
  2062.     ╤>  12  ioCompletion    pointer
  2063.     <╤  16  ioResult    word
  2064.     ╤>  18  ioNamePtr   pointer
  2065.     ╤>  22  ioVRefNum   word
  2066. \ PBEject
  2067. 17
  2068. FUNCTION PBEject (paramBlock: ParmBlkPtr) : OSErr;
  2069.  
  2070. Trap macro  _Eject
  2071.  
  2072. Parameter block
  2073.     ╤>  12  ioCompletion    pointer
  2074.     <╤  16  ioResult        word
  2075.     ╤>  18  ioNamePtr       pointer
  2076.     ╤>  22  ioVRefNum       word
  2077. \ PBOpen
  2078. 17
  2079. FUNCTION PBOpen (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
  2080.  
  2081. Trap macro  _Open
  2082.  
  2083. Parameter block
  2084.     ╤>  12  ioCompletion    pointer
  2085.     <╤  16  ioResult        word
  2086.     ╤>  18  ioNamePtr       pointer
  2087.     ╤>  22  ioVRefNum       word
  2088.     <╤  24  ioRefNum        word
  2089.     ╤>  26  ioVersNum       byte
  2090.     ╤>  27  ioPermssn       byte
  2091.     ╤>  28  ioMisc          pointer
  2092. \ PBHOpen
  2093. 17
  2094. FUNCTION PBHOpen (paramBlock: HParmBlkPtr; async: BOOLEAN) : OSErr;
  2095.  
  2096. Trap macro  _HOpen
  2097.  
  2098. Parameter block
  2099.     ╤>  12  ioCompletion    pointer
  2100.     <╤  16  ioResult        word
  2101.     ╤>  18  ioNamePtr       pointer
  2102.     ╤>  22  ioVRefNum       word
  2103.     <╤  24  ioRefNum        word
  2104.     ╤>  27  ioPermssn       byte
  2105.     ╤>  28  ioMisc          pointer
  2106.     ╤>  48  ioDirID         long word
  2107. \ PBOpenRF
  2108. 17
  2109. FUNCTION PBOpenRF (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
  2110.  
  2111. Trap macro  _OpenRF
  2112.  
  2113. Parameter block
  2114.     ╤>  12  ioCompletion    pointer
  2115.     <╤  16  ioResult        word
  2116.     ╤>  18  ioNamePtr       pointer
  2117.     ╤>  22  ioVRefNum       word
  2118.     <╤  24  ioRefNum        word
  2119.     ╤>  26  ioVersNum       byte
  2120.     ╤>  27  ioPermssn       byte
  2121.     ╤>  28  ioMisc          pointer
  2122. \ PBHOpenRF
  2123. 17
  2124. FUNCTION PBHOpenRF (paramBlock: HParmBlkPtr; async: BOOLEAN) : OSErr;
  2125.  
  2126. Trap macro  _HOpenRF
  2127.  
  2128. Parameter block
  2129.     ╤>  12  ioCompletion    pointer
  2130.     <╤  16  ioResult        word
  2131.     ╤>  18  ioNamePtr       pointer
  2132.     ╤>  22  ioVRefNum       word
  2133.     <╤  24  ioRefNum        word
  2134.     ╤>  27  ioPermssn       byte
  2135.     ╤>  28  ioMisc          pointer
  2136.     ╤>  48  ioDirID         long word
  2137. \ PBLockRange
  2138. 17
  2139. FUNCTION PBLockRange (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
  2140.  
  2141. Trap macro  _LockRng
  2142.  
  2143. Parameter block
  2144.     ╤>  12  ioCompletion    pointer
  2145.     <╤  16  ioResult        word
  2146.     ╤>  24  ioRefNum        word
  2147.     ╤>  36  ioReqCount      long word
  2148.     ╤>  44  ioPosMode       word
  2149.     ╤>  46  ioPosOffset     long word
  2150. \ PBUnlockRange
  2151. 17
  2152. FUNCTION PBUnlockRange (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
  2153.  
  2154. Trap macro  _UnlockRng
  2155.  
  2156. Parameter block
  2157.     ╤>  12  ioCompletion    pointer
  2158.     <╤  16  ioResult        word
  2159.     ╤>  24  ioRefNum        word
  2160.     ╤>  36  ioReqCount      long word
  2161.     ╤>  44  ioPosMode       word
  2162.     ╤>  46  ioPosOffset     long word
  2163. \ PBRead
  2164. 17
  2165. FUNCTION PBRead (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
  2166.  
  2167. Trap macro  _Read
  2168.  
  2169. Parameter block
  2170.     ╤>  12  ioCompletion    pointer
  2171.     <╤  16  ioResult        word
  2172.     ╤>  24  ioRefNum        word
  2173.     ╤>  32  ioBuffer        pointer
  2174.     ╤>  36  ioReqCount      long word
  2175.     <╤  40  ioActCount      long word
  2176.     ╤>  44  ioPosMode       word
  2177.     <╨> 46  ioPosOffset     long word
  2178. \ PBWrite
  2179. 17
  2180. FUNCTION PBWrite (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
  2181.  
  2182. Trap macro  _Write
  2183.  
  2184. Parameter block
  2185.     ╤>  12  ioCompletion    pointer
  2186.     <╤  16  ioResult        word
  2187.     ╤>  24  ioRefNum        word
  2188.     ╤>  32  ioBuffer        pointer
  2189.     ╤>  36  ioReqCount      long word
  2190.     <╤  40  ioActCount      long word
  2191.     ╤>  44  ioPosMode       word
  2192.     <╨> 46  ioPosOffset     long word
  2193. \ PBGetFPos
  2194. 17
  2195. FUNCTION PBGetFPos (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
  2196.  
  2197. Trap macro  _GetFPos
  2198.  
  2199. Parameter block
  2200.     ╤>  12  ioCompletion    pointer
  2201.     <╤  16  ioResult        word
  2202.     ╤>  24  ioRefNum        word
  2203.     <╤  36  ioReqCount      long word
  2204.     <╤  40  ioActCount      long word
  2205.     <╤  44  ioPosMode       word
  2206.     <╤  46  ioPosOffset     long word
  2207. \ PBSetFPos
  2208. 17
  2209. FUNCTION PBSetFPos (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
  2210.  
  2211. Trap macro  _SetFPos
  2212.  
  2213. Parameter block
  2214.     ╤>  12  ioCompletion    pointer
  2215.     <╤  16  ioResult        word
  2216.     ╤>  24  ioRefNum        word
  2217.     ╤>  44  ioPosMode       word
  2218.     <╨> 46  ioPosOffset     long word
  2219. \ PBGetEOF
  2220. 17
  2221. FUNCTION PBGetEOF (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
  2222.  
  2223. Trap macro  _GetEOF
  2224.  
  2225. Parameter block
  2226.     ╤>  12  ioCompletion    pointer
  2227.     <╤  16  ioResult        word
  2228.     ╤>  24  ioRefNum        word
  2229.     <╤  28  ioMisc          long word
  2230. \ PBSetEOF
  2231. 17
  2232. FUNCTION PBSetEOF (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
  2233.  
  2234. Trap macro  _SetEOF
  2235.  
  2236. Parameter block
  2237.     ╤>  12  ioCompletion    pointer
  2238.     <╤  16  ioResult        word
  2239.     ╤>  24  ioRefNum        word
  2240.     ╤>  28  ioMisc          long word
  2241. \ PBAllocate
  2242. 17
  2243. FUNCTION PBAllocate (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
  2244.  
  2245. Trap macro  _Allocate
  2246.  
  2247. Parameter block
  2248.     ╤>  12  ioCompletion    pointer
  2249.     <╤  16  ioResult        word
  2250.     ╤>  24  ioRefNum        word
  2251.     ╤>  36  ioReqCount      long word
  2252.     <╤  40  ioActCount      long word
  2253. \ PBAllocContig
  2254. 17
  2255. FUNCTION PBAllocContig (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
  2256.  
  2257. Trap macro  _AllocContig
  2258.  
  2259. Parameter block
  2260.     ╤>  12  ioCompletion    pointer
  2261.     <╤  16  ioResult        word
  2262.     ╤>  24  ioRefNum        word
  2263.     ╤>  36  ioReqCount      long word
  2264.     <╤  40  ioActCount      long word
  2265. \ PBFlushFile
  2266. 17
  2267. FUNCTION PBFlushFile (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
  2268.  
  2269. Trap macro  _FlushFile
  2270.  
  2271. Parameter block
  2272.     ╤>  12  ioCompletion    pointer
  2273.     <╤  16  ioResult        word
  2274.     ╤>  24  ioRefNum        word
  2275. \ PBClose
  2276. 17
  2277. FUNCTION PBClose (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
  2278.  
  2279. Trap macro  _Close
  2280.  
  2281. Parameter block
  2282.     ╤>  12  ioCompletion    pointer
  2283.     <╤  16  ioResult        word
  2284.     ╤>  24  ioRefNum        word
  2285. \ PBCreate
  2286. 17
  2287. FUNCTION PBCreate (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
  2288.  
  2289. Trap macro  _Create
  2290.  
  2291. Parameter block
  2292.     ╤>  12  ioCompletion    pointer
  2293.     <╤  16  ioResult        word
  2294.     ╤>  18  ioNamePtr       pointer
  2295.     ╤>  22  ioVRefNum       word
  2296.     ╤>  26  ioFVersNum      byte
  2297. \ PBHCreate
  2298. 17
  2299. FUNCTION PBHCreate (paramBlock: HParmBlkPtr; async: BOOLEAN) : OSErr;
  2300.  
  2301. Trap macro  _HCreate
  2302.  
  2303. Parameter block
  2304.     ╤>  12  ioCompletion    pointer
  2305.     <╤  16  ioResult        word
  2306.     ╤>  18  ioNamePtr       pointer
  2307.     ╤>  22  ioVRefNum       word
  2308.     ╤>  48  ioDirID         long word
  2309. \ PBDirCreate
  2310. 17
  2311. FUNCTION PBDirCreate (paramBlock: HParmBlkPtr; async: BOOLEAN): OSErr;
  2312.  
  2313. Trap macro  _DirCreate
  2314.  
  2315. Parameter block
  2316.     ╤>  12  ioCompletion    pointer
  2317.     <╤  16  ioResult        word
  2318.     <╨> 18  ioNamePtr       pointer
  2319.     ╤>  22  ioVRefNum       word
  2320.     <╨> 48  ioDirID         long word
  2321. \ PBDelete
  2322. 17
  2323. FUNCTION PBDelete (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
  2324.  
  2325. Trap macro  _Delete
  2326.  
  2327. Parameter block
  2328.     ╤>  12  ioCompletion    pointer
  2329.     <╤  16  ioResult        word
  2330.     ╤>  18  ioNamePtr       pointer
  2331.     ╤>  22  ioVRefNum       word
  2332.     ╤>  26  ioFVersNum      byte
  2333. \ PBHDelete
  2334. 17
  2335. FUNCTION PBHDelete (paramBlock: HParmBlkPtr; async: BOOLEAN) : OSErr;
  2336.  
  2337. Trap macro  _HDelete
  2338.  
  2339. Parameter block
  2340.     ╤>  12  ioCompletion    pointer
  2341.     <╤  16  ioResult        word
  2342.     ╤>  18  ioNamePtr       pointer
  2343.     ╤>  22  ioVRefNum       word
  2344.     ╤>  48  ioDirID         long word
  2345. \ PBGetFInfo
  2346. 17
  2347. FUNCTION PBGetFInfo (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
  2348.  
  2349. Trap macro  _GetFileInfo
  2350.  
  2351. Parameter block
  2352.     ╤>  12  ioCompletion    pointer
  2353.     <╤  16  ioResult        word
  2354.     <╨> 18  ioNamePtr       pointer
  2355.     ╤>  22  ioVRefNum       word
  2356.     <╤  24  ioFRefNum       word
  2357.     ╤>  26  ioFVersNum      byte
  2358.     ╤>  28  ioFDirIndex     word
  2359.     <╤  30  ioFlAttrib      byte
  2360.     <╤  31  ioFlVersNum     byte
  2361.     <╤  32  ioFlFndrInfo    16 bytes
  2362.     <╤  48  ioFlNum         long word
  2363.     <╤  52  ioFlStBlk       word
  2364.     <╤  54  ioFlLgLen       long word
  2365.     <╤  58  ioFlPyLen       long word
  2366.     <╤  62  ioFlRStBlk      word
  2367.     <╤  64  ioFlRLgLen      long word
  2368.     <╤  68  ioFlRPyLen      long word
  2369.     <╤  72  ioFlCrDat       long word
  2370.     <╤  76  ioFlMdDat       long word
  2371. \ PBHGetFInfo
  2372. 17
  2373. FUNCTION PBHGetFInfo (paramBlock: HParmBlkPtr; async: BOOLEAN) : OSErr;
  2374.  
  2375. Trap macro  _HGetFileInfo
  2376.  
  2377. Parameter block
  2378.     ╤>  12  ioCompletion    pointer
  2379.     <╤  16  ioResult        word
  2380.     <╨> 18  ioNamePtr       pointer
  2381.     ╤>  22  ioVRefNum       word
  2382.     <╤  24  ioFRefNum       word
  2383.     ╤>  28  ioFDirIndex     word
  2384.     <╤  30  ioFlAttrib      byte
  2385.     <╤  32  ioFlFndrInfo    16 bytes
  2386.     <╨> 48  ioDirID         long word
  2387.     <╤  52  ioFlStBlk       word
  2388.     <╤  54  ioFlLgLen       long word
  2389.     <╤  58  ioFlPyLen       long word
  2390.     <╤  62  ioFlRStBlk      word
  2391.     <╤  64  ioFlRLgLen      long word
  2392.     <╤  68  ioFlRPyLen      long word
  2393.     <╤  72  ioFlCrDat       long word
  2394.     <╤  76  ioFlMdDat       long word
  2395. \ PBSetFInfo
  2396. 17
  2397. FUNCTION PBSetFInfo (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
  2398.  
  2399. Trap macro  _SetFileInfo
  2400.  
  2401. Parameter block
  2402.     ╤>  12  ioCompletion    pointer
  2403.     <╤  16  ioResult        word
  2404.     ╤>  18  ioNamePtr       pointer
  2405.     ╤>  22  ioVRefNum       word
  2406.     ╤>  26  ioFVersNum      byte
  2407.     ╤>  32  ioFlFndrInfo    16 bytes
  2408.     ╤>  72  ioFlCrDat       long word
  2409.     ╤>  76  ioFlMdDat       long word
  2410. \ PBHSetFInfo
  2411. 17
  2412. FUNCTION PBHSetFInfo (paramBlock: HParmBlkPtr; async: BOOLEAN) : OSErr;
  2413.  
  2414. Trap macro  _HSetFileInfo
  2415.  
  2416. Parameter block
  2417.     ╤>  12  ioCompletion    pointer
  2418.     <╤  16  ioResult        word
  2419.     ╤>  18  ioNamePtr       pointer
  2420.     ╤>  22  ioVRefNum       word
  2421.     ╤>  32  ioFlFndrInfo    16 bytes
  2422.     ╤>  48  ioDirID         long word
  2423.     ╤>  72  ioFlCrDat       long word
  2424.     ╤>  76  ioFlMdDat       long word
  2425. \ PBSetFLock
  2426. 17
  2427. FUNCTION PBSetFLock (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
  2428.  
  2429. Trap macro  _SetFilLock
  2430.  
  2431. Parameter block
  2432.     ╤>  12  ioCompletion    pointer
  2433.     <╤  16  ioResult        word
  2434.     ╤>  18  ioNamePtr       pointer
  2435.     ╤>  22  ioVRefNum       word
  2436.     ╤>  26  ioFVersNum      byte
  2437. \ PBHSetFLock
  2438. 17
  2439. FUNCTION PBHSetFLock (paramBlock: HParmBlkPtr; async: BOOLEAN) : OSErr;
  2440.  
  2441. Trap macro  _HSetFLock
  2442.  
  2443. Parameter block
  2444.     ╤>  12  ioCompletion    pointer
  2445.     <╤  16  ioResult        word
  2446.     ╤>  18  ioNamePtr       pointer
  2447.     ╤>  22  ioVRefNum       word
  2448.     ╤>  48  ioDirID         long word
  2449. \ PBRstFLock
  2450. 17
  2451. FUNCTION PBRstFLock (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
  2452.  
  2453. Trap macro  _RstFilLock
  2454.  
  2455. Parameter block
  2456.     ╤>  12  ioCompletion    pointer
  2457.     <╤  16  ioResult        word
  2458.     ╤>  18  ioNamePtr       pointer
  2459.     ╤>  22  ioVRefNum       word
  2460.     ╤>  26  ioFVersNum      byte
  2461. \ PBHRstFLock
  2462. 17
  2463. FUNCTION PBHRstFLock (paramBlock: HParmBlkPtr; async: BOOLEAN) : OSErr;
  2464.  
  2465. Trap macro  _HRstFLock
  2466.  
  2467. Parameter block
  2468.     ╤>  12  ioCompletion    pointer
  2469.     <╤  16  ioResult        word
  2470.     ╤>  18  ioNamePtr       pointer
  2471.     ╤>  22  ioVRefNum       word
  2472.     ╤>  48  ioDirID         long word
  2473.  
  2474. \ PBSetFVers
  2475. 17
  2476. FUNCTION PBSetFVers (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
  2477.  
  2478. Trap macro  _SetFilType
  2479.  
  2480. Parameter block
  2481.     ╤>  12  ioCompletion    pointer
  2482.     <╤  16  ioResult        word
  2483.     ╤>  18  ioNamePtr       pointer
  2484.     ╤>  22  ioVRefNum       word
  2485.     ╤>  26  ioVersNum       byte
  2486.     ╤>  28  ioMisc          byte
  2487. \ PBRename
  2488. 17
  2489. FUNCTION PBRename (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
  2490.  
  2491. Trap macro  _Rename
  2492.  
  2493. Parameter block
  2494.     ╤>  12  ioCompletion    pointer
  2495.     <╤  16  ioResult        word
  2496.     ╤>  18  ioNamePtr       pointer
  2497.     ╤>  22  ioVRefNum       word
  2498.     ╤>  26  ioVersNum       byte
  2499.     ╤>  28  ioMisc          pointer
  2500. \ PBHRename
  2501. 17
  2502. FUNCTION PBHRename (paramBlock: HParmBlkPtr; async: BOOLEAN) : OSErr;
  2503.  
  2504. Trap macro  _HRename
  2505.  
  2506. Parameter block
  2507.     ╤>  12  ioCompletion    pointer
  2508.     <╤  16  ioResult        word
  2509.     ╤>  18  ioNamePtr       pointer
  2510.     ╤>  22  ioVRefNum       word
  2511.     ╤>  28  ioMisc      pointer
  2512.     ╤>  48  ioDirID     long word
  2513. \ PBGetCatInfo
  2514. 17
  2515. FUNCTION PBGetCatInfo (paramBlock: CInfoPBPtr; async: BOOLEAN): OSErr;
  2516.  
  2517. Trap macro  _GetCatInfo
  2518.  
  2519. Parameter block
  2520.     Files:                              Directories:
  2521.     ╤>  12  ioCompletion    pointer ╤>  12  ioCompletion    pointer
  2522.     <╤  16  ioResult        word    <╤  16  ioResult        word
  2523.     <╨> 18  ioNamePtr       pointer <╨> 18  ioNamePtr       pointer
  2524.     ╤>  22  ioVRefNum       word    ╤>  22  ioVRefNum       word
  2525.     <╤  24  ioFRefNum       word    <╤  24  ioFRefNum       word
  2526.     ╤>  28  ioFDirIndex     word    ╤>  28  ioFDirIndex     word
  2527.     <╤  30  ioFlAttrib      byte    <╤  30  ioFlAttrib      byte
  2528.     <╤  32  ioFlFndrInfo    16 bytes<╤  32  ioDrUsrWds      16 bytes
  2529.     <╨> 48  ioDirID         long    <╨> 48  ioDrDirID       long
  2530.     <╤  52  ioFlStBlk       word    <╤  52  ioDrNmFls       word
  2531.     <╤  54  ioFlLgLen       long
  2532.     <╤  58  ioFlPyLen       long
  2533.     <╤  62  ioFlRStBlk      word
  2534.     <╤  64  ioFlRLgLen      long
  2535.     <╤  68  ioFlRPyLen      long
  2536.     <╤  72  ioFlCrDat       long    <╤  72  ioDrCrDat       long
  2537.     <╤  76  ioFlMdDat       long    <╤  76  ioDrMdDat       long
  2538.     <╤  80  ioFlBkDat       long    <╤  80  ioDrBkDat       long
  2539.     <╤  84  ioFlXFndrInfo   16 bytes<╤  84  ioDrFndrInfo    16 bytes
  2540.     <╤  100 ioFlParID       long    <╤  100 ioDrParID       long
  2541.     <╤  104 ioFlClpSiz      long
  2542. \ PBSetCatInfo
  2543. 17
  2544. FUNCTION PBSetCatInfo (paramBlock: CInfoPBPtr; async: BOOLEAN) : OSErr;
  2545.  
  2546. Trap macro  _SetCatInfo
  2547.  
  2548. Parameter block
  2549.     Files:                          Directories:
  2550.     ╤>  12  ioCompletion    pointer ╤>  12  ioCompletion    pointer
  2551.     <╤  16  ioResult        word    <╤  16  ioResult        word
  2552.     <╨> 18  ioNamePtr       pointer <╨> 18  ioNamePtr       pointer
  2553.     ╤>  22  ioVRefNum       word    ╤>  22  ioVRefNum       word
  2554.     ╤>  30  ioFlAttrib      byte    ╤>  30  ioFlAttrib      byte
  2555.     ╤>  32  ioFlFndrInfo    16 bytes╤>  32  ioDrUsrWds      16 bytes
  2556.     ╤>  48  ioDirID         long    ╤>  48  ioDrDirID       long
  2557.     ╤>  72  ioFlCrDat       long    ╤>  72  ioDrCrDat       long
  2558.     ╤>  76  ioFlMdDat       long    ╤>  76  ioDrMdDat       long
  2559.     ╤>  80  ioFlBkDat       long    ╤>  80  ioDrBkDat       long
  2560.     ╤>  84  ioFlXFndrInfo   16 bytes╤>  84  ioDrFndrInfo    16 bytes
  2561.     ╤>  104 ioFlClpSiz      long
  2562. \ PBCatMove
  2563. 17
  2564. FUNCTION PBCatMove (paramBlock: CMovePBPtr; async: BOOLEAN) : OSErr;
  2565.  
  2566. Trap macro  _CatMove
  2567.  
  2568. Parameter block
  2569.     ╤>  12  ioCompletion    pointer
  2570.     <╤  16  ioResult        word
  2571.     ╤>  18  ioNamePtr       pointer
  2572.     ╤>  22  ioVRefNum       word
  2573.     ╤>  28  ioNewName       pointer
  2574.     ╤>  36  ioNewDirID      long word
  2575.     ╤>  48  ioDirID         long word
  2576. \ PBOpenWD
  2577. 17
  2578. FUNCTION PBOpenWD (paramBlock: WDPBPtr; async: BOOLEAN) : OSErr;
  2579.  
  2580. Trap macro  _OpenWD
  2581.  
  2582. Parameter block
  2583.     ╤>  12  ioCompletion    pointer
  2584.     <╤  16  ioResult        word
  2585.     ╤>  18  ioNamePtr       pointer
  2586.     <╨> 22  ioVRefNum       word
  2587.     ╤>  28  ioWDProcID      long word
  2588.     ╤>  48  ioWDDirID       long word
  2589. \ PBCloseWD
  2590. 17
  2591. FUNCTION PBCloseWD (paramBlock: WDPBPtr; async: BOOLEAN) : OSErr;
  2592.  
  2593. Trap macro  _CloseWD
  2594.  
  2595. Parameter block
  2596.     ╤>  12  ioCompletion    pointer
  2597.     <╤  16  ioResult        word
  2598.     ╤>  22  ioVRefNum       word
  2599. \ PBGetWDInfo
  2600. 17
  2601. FUNCTION PBGetWDInfo (paramBlock: WDPBPtr; async: BOOLEAN) : OSErr;
  2602.  
  2603. Trap macro  _GetWDInfo
  2604.  
  2605. Parameter block
  2606.     ╤>  12  ioCompletion    pointer
  2607.     <╤  16  ioResult        word
  2608.     <╤  18  ioNamePtr       pointer
  2609.     <╨> 22  ioVRefNum       word
  2610.     ╤>  26  ioWDIndex       word
  2611.     <╨> 28  ioWDProcID      long word
  2612.     <╨> 32  ioWDVRefNum     word
  2613.     <╤  48  ioWDDirID       long word
  2614. \ PrOpen
  2615. 18
  2616. PROCEDURE PrOpen;
  2617. \ PrClose
  2618. 18
  2619. PROCEDURE PrClose;
  2620. \ PrintDefault
  2621. 18
  2622. PROCEDURE PrintDefault (hPrint: THPrint);
  2623. \ PrValidate
  2624. 18
  2625. FUNCTION PrValidate (hPrint: THPrint) : BOOLEAN;
  2626. \ PrStlDialog
  2627. 18
  2628. FUNCTION PrStlDialog (hPring: THPrint) : BOOLEAN;
  2629. \ PrJobDialog
  2630. 18
  2631. FULNCTION PrJobDialog (hPrint: THPrint) : BOOLEAN;
  2632. \ PrJobMerge
  2633. 18
  2634. PROCEDURE PrJobMerge (hPringSrc,hPrintDst: THPrint):
  2635. \ PrOpenDoc
  2636. 18
  2637. FUNCTION PrOpenDoc (hPrint: THPrint; pPrPort: TPPrPort; pIOBuf: Ptr)
  2638.         : TPPrPort;
  2639. \ PrOpenPage
  2640. 18
  2641. PROCEDURE PrOpenPage (pPrPort: TPPrPort; pPageFrame: TPRect);
  2642. \ PrClosePage
  2643. 18
  2644. PROCEDURE PrClosePage (pPrPort: TPPrPort);
  2645. \ PrCloseDoc
  2646. 18
  2647. PROCEDURE PrCloseDoc (pPrPort: TPPrPort);
  2648. \ PrPicFile
  2649. 18
  2650. PROCEDURE PrPicFile (hPrint: THPrint; pPrPort: TPPrPort; pIOBuf: Ptr;
  2651.         pDevBuf: Ptr; VAR prStatus: TPrStatus);
  2652. \ PrError
  2653. 18
  2654. FUNCTION PrError : INTEGER; [Pascal only]
  2655. \ PrSetError
  2656. 18
  2657. PROCEDURE PrSetError (iErr: INTEGER); [Pascal Only]
  2658. \ PrDrvrOpen
  2659. 18
  2660. PROCEDURE PrDrvrOpen;
  2661. \ PrDrvrClose
  2662. 18
  2663. PROCEDURE PrDrvrClose;
  2664. \ PrCtlCall
  2665. 18
  2666. PROCEDURE PrCtlCall (iWhichCtl: INTEGER; lParam1,lParam2,lParam3):
  2667.                     LongInt);
  2668. \ PrDrvrDCE
  2669. 18
  2670. FUNCTION PrDrvrDCE : Handle;
  2671. \ PrDrvrVers
  2672. 18
  2673. FUNCTION PrDrvrVers : INTEGER;
  2674. \ PrNoPurge
  2675. 18
  2676. PROCEDURE PrNoPurge;
  2677. \ PrPurge
  2678. 18
  2679. PROCEDURE PrPurge;
  2680. \ OpenDriver
  2681. 19
  2682. FUNCTION OpenDriver (name: Str255; VAR refNum: INTEGER) : OSErr;
  2683. \ CloseDriver
  2684. 19
  2685. FUNCTION CloseDriver (refNum: INTEGER) : OSErr;
  2686. \ FSRead
  2687. 19
  2688. FUNCTION FSRead (refNum: INTEGER; VARcount: LongInt; buffPtr: Ptr) :
  2689.         OSErr;
  2690. \ FSWrite
  2691. 19
  2692. FUNCTION FSWrite (refNum: INTEGR; VARcount: LongInt; buffPtr: Ptr) :
  2693.                     OSErr;
  2694. \ Control
  2695. 19
  2696. FUNCTION COntrol (refNum: INTEGER; csCode: INTEGER; csParam: Ptr):
  2697.         OSErr;
  2698. \ Status
  2699. 19
  2700. FUNCTION Status (refNum: INTEGER; csCode: INTEGER; csParam: Ptr) :
  2701.         OSErr;
  2702. \ KillIO
  2703. 19
  2704. FUNCTION KillIO (refNum: INTEGER) : OSErr;
  2705. \ PBOpen
  2706. 19
  2707. FUNCTION PBOpen (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
  2708.  
  2709. Trap macro  _Open
  2710.  
  2711. Parameter block
  2712.             --> 12  ioCompletion    pointer
  2713.             <-- 16  ioResult    word
  2714.             --> 18  ioNamePtr   pointer
  2715.             <-- 24  ioRefNum    word
  2716.             --> 27  ioPermssn   byte
  2717. \ PBClose
  2718. 19
  2719. FUNCTION PBCLose (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
  2720.  
  2721. Trap macro  _Close
  2722.  
  2723. Parameter block
  2724.                 --> 12  ioCompletion    pointer
  2725.                 <-- 16  ioResult    word
  2726.                 --> 24  ioRefNum    word
  2727. \ PBRead
  2728. 19
  2729. FUNCTION PBRead (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
  2730.  
  2731. Trap macro  _Read
  2732.  
  2733. Parameter block
  2734.     ╤>  12  ioCompletion    pointer
  2735.     <╤  16  ioResult        word
  2736.     ╤>  24  ioRefNum        word
  2737.     ╤>  32  ioBuffer        pointer
  2738.     ╤>  36  ioReqCount      long word
  2739.     <╤  40  ioActCount      long word
  2740.     ╤>  44  ioPosMode       word
  2741.     <╨> 46  ioPosOffset     long word
  2742. \ PBWrite
  2743. 19
  2744. FUNCTION PBWrite (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
  2745.  
  2746.     Trap macro  _Write
  2747.  
  2748.     Parameter block
  2749.         --> 12  ioCompletion    pointer
  2750.         <-- 16  ioResult    word
  2751.         --> 24  ioRefNum    word
  2752.         --> 32  ioBuffer    pointer
  2753.         --> 36  ioReqCount  long word
  2754.         <-- 40  ioActCount  long word
  2755.         --> 44  ioPosMode   word
  2756.         --> 46  ioPosOffset long word
  2757. \ PBControl
  2758. 19
  2759. FUNCTION PBControl (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
  2760.  
  2761.     Trap macro  _Control
  2762.  
  2763.     Parameter block
  2764.         --> 12  ioCompletion    pointer
  2765.         <-- 16  ioResult    word
  2766.         --> 24  ioRefNum    word
  2767.         --> 26  csCode      word
  2768.         --> 28  csParam     record
  2769. \ PBStatus
  2770. 19
  2771. FUNCTION PBStatus (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
  2772.  
  2773.     Trap macro  _Status
  2774.  
  2775.     Parameter block
  2776.         --> 12  ioCompletion    pointer
  2777.         <-- 16  ioResult    word
  2778.         --> 24  ioRefNum    word
  2779.         --> 26  csCode      word
  2780.         --> 28  csParam     record
  2781. \ PBKillIO
  2782. 19
  2783. FUNCTION PBKillIO (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
  2784.  
  2785.     Trap macro  _KillIO
  2786.  
  2787.     Parameter block
  2788.         --> 12  ioCompletion    pointer
  2789.         <-- 16  ioResult    word
  2790.         --> 24  ioRefNum    word
  2791. \ DiskEject
  2792. 20
  2793. FUNCTION DiskEject (drvNum: INTEGER) : OSErr;
  2794. \ SetTagBuffer
  2795. 20
  2796. FUNCTION SetTagBuffer (buffPtr: Ptr) : OSErr;
  2797. \ DriveStatus
  2798. 20
  2799. FUNCTION DriveStatus (drvNum: INTEGER; VAR status: DrvSts) : OSErr;
  2800. \ StartSound
  2801. 21
  2802. PROCEDURE StartSound (synthRec: Ptr; numBytes: LONGINT; completionRtn:
  2803.         ProcPtr);
  2804. \ StopSound
  2805. 21
  2806. PROCEDURE StopSound;
  2807. \ SoundDone
  2808. 21
  2809. FUNCTION SoundDone : BOOLEAN;
  2810. \ GetSoundVol
  2811. 21
  2812. PROCEDURE GetSoundVol (VAR level: INTEGER);
  2813. \ RAMSDOpen
  2814. 22
  2815. FUNCTION RAMSDOpen (whichPort: SPortSel; rsrcType: OSType; rsrcID:
  2816.         INTEGER) : OSErr;
  2817. \ RAMSDClose
  2818. 22
  2819. PROCEDURE RAMSDClose (whichPort: SPortSel);
  2820. \ SerReset
  2821. 22
  2822. FUNCTION SerReset (refNum: INTEGER; serConfig: INTEGER) : OSErr;
  2823. \ SerSetBuf
  2824. 22
  2825. FUNCTION SerSetBuf (refNum: INTEGER; serBPtr: Ptr; serBLen: INTEGER) :
  2826.         OSErr;
  2827. \ SerHShake
  2828. 22
  2829. FUNCTION SerHShake (refNum: INTEGER; flags: SerShk) : OSErr;
  2830. \ SerSetBrk
  2831. 22
  2832. FUNCTION SerSetBrk (refNum: INTEGER) : OSErr;
  2833. \ SerClrBrk
  2834. 22
  2835. FUNCTION SerClrBrk (refNumk: INTEGER) : OSErr;
  2836. \ SerGetBuf
  2837. 22
  2838. FUNCTION SerGetBuf (refNum: INTEGER; VAR count: LONGILNT) ; OSErr;
  2839. \ SerErrFlag
  2840. 22
  2841. FUNCTION SerErrFlag (refNum: INTEGER; VAR serSta: SerStaRec) : OSErr;
  2842. \ MPPOpen
  2843. 23
  2844. FUNCTION MPPOpen : OSErr;  [Not in ROM]
  2845. \ MPPClose
  2846. 23
  2847. FUNCTION MPPClose : OSErr;   [Not in ROM]
  2848. \ LAPOpenProtocol
  2849. 23
  2850. FUNCTION LAPOpenProtocol (theLAPType: ABBYte; protoPtr: Ptr) : OSErr;
  2851. \ LAPWrite
  2852. 23
  2853. FUNCTION LAPWrite (abRecord: ABRecHandle; async: BOOLEAN) : OSErr;
  2854. \ LAPRead
  2855. 23
  2856. FUNCTION LAPRead (abRecord: ABRecHandle; async: BOOLEAN) : OSErr;
  2857. \ LAPRdCancel
  2858. 23
  2859. FUNCTION LAPRdCancel (abRecord: ABRecHandle) : OSErr;  [Not in ROM]
  2860. \ DDPOpenSocket
  2861. 23
  2862. FUNCTION DDPOpenSocket (VAR theSocket: Byte; sktListener: Ptr) : OSErr;
  2863. \ DDPCloseSocket
  2864. 23
  2865. FUNCTION DDPCloseSocket (theSocket: Byte) : OSErr;   [Not in ROM]
  2866. \ DDPWrite
  2867. 23
  2868. FUNCTION DDPWrite (abRecord: ABRecfHandle; doChecksum: BOOLEAN; async:
  2869.                     BOOLEAN) : OSErr;   [Not in ROM]
  2870. \ DDPRead
  2871. 23
  2872. FUNCTION DPRead (abRecord: ABRecfHandle; retChecksum: BOOLEAN; async:
  2873.                   BOOLEAN) : OSErr;   [Not in ROM]
  2874. \ DDPRdCancel
  2875. 23
  2876. FUNCTION DDPRdCancel (abRecord: ABRecHandle) : OSErr;   [Not in ROM]
  2877. \ ATPLoad
  2878. 23
  2879. FUNCTION ATPLoad : OSErr;   [Not in ROM]
  2880. \ ATPUnload
  2881. 23
  2882. FUNCTION ATPUnload : OSErr;   [Not in ROM]
  2883. \ ATPOpenSocket
  2884. 23
  2885. FUNCTION ATPOpenSocket (addrRcvd: AddrBlock; VAR atpSocket: Byte) :
  2886.                           OSErr;   [Not in ROM]
  2887. \ ATPCloseSocket
  2888. 23
  2889. FUNCTION ATPCLoseSocket (atpSocket: Byte) : OSErr;   [Not in ROM]
  2890. \ ATPSndRequest
  2891. 23
  2892. FUNCTION ATPSndRequest (abRecord: ABRecHandle; async: BOOLEAN) : OSErr;
  2893. \ ATPRequest
  2894. 23
  2895. FUNCTION ATPRequest (abRecord: ABRecHandle; async: BOOLEAN) : OSErr;
  2896. \ ATPReqCancel
  2897. 23
  2898. FUNCTION ATPReqCancel (abRecord: ABRecHandle; async: BOOLEAN) : OSErr;
  2899. \ ATPGetRequest
  2900. 23
  2901. FUNCTION ATPGetRequest (abRecord: ABRecHandle; async: BOOLEAN) :
  2902. \ ATPSndRsp
  2903. 23
  2904. FUNCTION ATPSndRsp (abRecord: ABRecHandle; async: BOOLEAN) :
  2905.                      OSErr;   [Not in ROM]
  2906. \ ATPAddRsp
  2907. 23
  2908. FUNCTION ATPAddRsp (abRecord: ABRecHandle): OSErr;   [Not in ROM]
  2909. \ ATPResponse
  2910. 23
  2911. FUNCTION ATPResponse (abRecord: ABRecHandle; async: BOOLEAN) :
  2912.                        OSErr;   [Not in ROM]
  2913. \ ATPRspCancel
  2914. 23
  2915. FUNCTION ATPRspCancel (abRecord: ABRecHandle; async: BOOLEAN) :
  2916.                         OSErr;   [Not in ROM]
  2917. \ NBPRegister
  2918. 23
  2919. FUNCTION NBPRegister (abRecord: ABRecHandle; async: BOOLEAN) :
  2920.                         OSErr;   [Not in ROM]
  2921. \ NBPLookup
  2922. 23
  2923. FUNCTION NBPLookup (abRecord: ABRecHandle; async: BOOLEAN) :
  2924.                         OSErr;   [Not in ROM]
  2925. \ NBPExtract
  2926. 23
  2927. FUNCTION NBPExtract (theBuffer: Ptr; numInBuf: INTEGER; whichOne:
  2928.                     INTEGER; VAR abEntityName; VAR address: AddrBlock)
  2929.                     : OSErr;   [Not in ROM]
  2930. \ NBPConfirm
  2931. 23
  2932. FUNCTION NBPConfirm (abRecord: ABRecHandle; async: BOOLEAN) :
  2933.                         OSErr;   [Not in ROM]
  2934. \ NBPRemove
  2935. 23
  2936. FUNCTION NBPRemove (abEntity: EntityPtr) : OSErr;   [Not in ROM]
  2937. \ NBPLoad
  2938. 23
  2939. FUNCTION NBPLoad : OSErr;   [Not in ROM]
  2940. \ NBPUnload
  2941. 23
  2942. FUNCTION NBPUnload : OSErr;   [Not in ROM]
  2943. \ GetNodeAddress
  2944. 23
  2945. FUNCTION GetNodeAddress (VAR myNode,myNet: INTEGER) : OSErr;[Not in ROM]
  2946. \ IsMPPOpen
  2947. 23
  2948. FUNCTION IsMPPOpen : BOOLEAN;   [Not in ROM]
  2949. \ IsATPOpen
  2950. 23
  2951. IsATPOpen : BOOLEAN;   [Not in ROM]
  2952. \ VInstall
  2953. 24
  2954. FUNCTION VInstall (vblTaskPtr: QElemPtr) : OSErr;
  2955. \ VRemove
  2956. 24
  2957. FUNCTION VRemove (vblTaskPtr: QElemPtr) : OSErr;
  2958. \ GetVBLQHdr
  2959. 24
  2960. FUNCTION GetVBLQHdr : QHdrPtr;   [Pascal only]
  2961. \ HandToHand
  2962. 25
  2963. FUNCTION HandToHand (VAR theHndl: Handle) : OSErr;
  2964. \ PtrToHand
  2965. 25
  2966. FUNCTION PtrToHand (srcPtr: Ptr; VAR dstHndl: Handle; size: LONGINT) :
  2967.         OSErr;
  2968. \ PtrToXHand
  2969. 25
  2970. FUNCTION PtrToXHand (srcPtr: Ptr; VAR dstHndl: Handle; size: LONGINT) :
  2971.                     OSErr;
  2972. \ HandAndHand
  2973. 25
  2974. FUNCTION HandAndHand (aHndl,bHndl: Handle) : OSErr;
  2975. \ PtrAndHand
  2976. 25
  2977. FUNCTION PtrAndHand (pntr: Ptr; hndlk: Handle; size: LONGINT) : OSErr;
  2978. \ NGetTrapAddress
  2979. 25
  2980. FUNCTION NGetTrapAddress (trapNum: INTEGER; tType: TrapType) : LongInt;
  2981. \ NSetTrapAddress
  2982. 25
  2983. FUNCTION NSetTrapAddress (trapAddr: LongInt; trapNum: INTEGER;
  2984.                             tType: TrapType);  [Not in ROM]
  2985. \ RelString
  2986. 25
  2987. FUNCTION RelString (aStr,bStr: Str255; caseSens,diacSens: BOOLEAN)
  2988.                     : INTEGER;
  2989. \ Environs
  2990. 25
  2991. PROCEDURE Environs (VAR rom,machine: INTEGER)  [Not in ROM]
  2992. \ EqualString
  2993. 25
  2994. FUNCTION EqualString (aStr,bStr: Str255; caseSens,diacSens: BOOLEAN) :
  2995.                         BOOLEAN;
  2996. \ UprString
  2997. 25
  2998. PROCEDURE UprString (VAR theString: Str255; diacSens: BOOLEAN);
  2999. \ ReadDateTime
  3000. 25
  3001. FUNCTION ReadDateTime (VAR secs: LONGINT) : OSErr;
  3002. \ GetDateTime
  3003. 25
  3004. PROCEDURE GetDateTime (VAR secs: LONGINT);   [Not in ROM]
  3005. \ SetDateTime
  3006. 25
  3007. FUNCTION SetDateTime (secs: LONGINT) : OSErr;
  3008. \ Date2Secs
  3009. 25
  3010. PROCEDURE Date2Secs (date: DateTimeRec; VAR secs: LONGINT);
  3011. \ Secs2Date
  3012. 25
  3013. PROCEDURE Secs2Date (secs: LONGINT; VAR date: DateTimeRec);
  3014. \ GetTime
  3015. 25
  3016. PROCEDURE GetTime (VAR date: DateTimeRec);   [Not in ROM]
  3017. \ SetTime
  3018. 25
  3019. PROCEDURE SetTime (date: DateTimeRec);   [Not in ROM]
  3020. \ InitUtil
  3021. 25
  3022. FUNCTION InitUtil : OSErr;
  3023. \ GetSysPPtr
  3024. 25
  3025. FUNCTION GetSysPPtr : SysPPtr;   [Not in ROM]
  3026. \ WriteParam
  3027. 25
  3028. FUNCTION WriteParam : OSErr;
  3029. \ Enqueue
  3030. 25
  3031. PROCEDURE Enqueue (qElement: QElemPtr; theQueue: QHdrPtr);
  3032. \ Dequeue
  3033. 25
  3034. FUNCTION Dequeue (qElement: QElemPtr; theQueue: QHdrPtr) : OSErr;
  3035. \ GetTrapAddress
  3036. 25
  3037. FUNCTION GetTrapAddress (trapNum: INTEGER) : LONGINT;
  3038. \ SetTrapAddress
  3039. 25
  3040. PROCEDURE SetTrapAddress (trapAddr: LONGINT; trapNum: INTEGER);
  3041. \ Delay
  3042. 25
  3043. PROCEDURE Delay (numTicks: LONGINT; VAR finalTicks: LONGINT);
  3044. \ SysBeep
  3045. 25
  3046. PROCEDURE SysBeep (duration: INTEGER);
  3047. \ Restart
  3048. 25
  3049. Procedure Restart; [Not in ROM]
  3050. \ SetUpA5
  3051. 25
  3052. Procedure SetUpA5; [Not in ROM]
  3053. \ RestoreA5
  3054. 25
  3055. Procedure RestoreA5; [Not in ROM]
  3056. \ LNew
  3057. 26
  3058. FUNCTION LNew (rView,dataBounds: Rect; cSize: Point; theProc: INTEGER;
  3059.                 theWindow: WindowPtr; drawIt,hasGrow,
  3060.                 scrollHoriz,scrollVert: BOOLEAN) : ListHandle;
  3061. \ LDispose
  3062. 26
  3063. PROCEDURE LDispose (lHandle: ListHandle);
  3064. \ LAddColumn
  3065. 26
  3066. FUNCTION LAddColumn (count,colNum: INTEGER; lHandle: ListHandle)
  3067.                     : INTEGER;
  3068. \ LAddRow
  3069. 26
  3070. FUNCTION LAddRow (count,rowNum: INTEGER; lHandle: ListHandle) : INTEGER;
  3071. \ LDelColumn
  3072. 26
  3073. PROCEDURE LDelColumn (count,colNum: INTEGER; lHandle: ListHandle);
  3074. \ LDelRow
  3075. 26
  3076. PROCEDURE LDelRow (count,rowNum: INTEGER; lHandle: ListHandle);
  3077. \ LAddToCell
  3078. 26
  3079. PROCEDURE LAddToCell (dataPtr: Ptr; dataLen: INTEGER; theCell: Cell;
  3080.                         lHandle: ListHandle);
  3081. \ LClrCell
  3082. 26
  3083. PROCEDURE LClrCell (theCell: Cell; lHandle: ListHandle);
  3084. \ LGetCell
  3085. 26
  3086. PROCEDURE LGetCell (dataPtr: Ptr; VAR dataLen: INTEGER; theCell: Cell;
  3087.                     lHandle: ListHandle);
  3088. \ LSetCell
  3089. 26
  3090. PROCEDURE LSetCell (dataPtr: Ptr; dataLen: INTEGER; theCell: Cell;
  3091.                     lHandle: ListHandle);
  3092. \ LCellSize
  3093. 26
  3094. PROCEDURE LCellSize (cSize: Point; lHandle: ListHandle);
  3095. \ LGetSelect
  3096. 26
  3097. FUNCTION LGetSelect (next: BOOLEAN; VAR theCell: Cell;
  3098.                     lHandle: ListHandle) : BOOLEAN;
  3099. \ LSetSelect
  3100. 26
  3101. PROCEDURE LSetSelect (setIt: BOOLEAN; theCell: Cell;
  3102.                         lHandle: ListHandle);
  3103. \ LClick
  3104. 26
  3105. FUNCTION LClick (pt: Point; modifiers: INTEGER; lHandle: ListHandle)
  3106.                     : BOOLEAN;
  3107. \ LLastClick
  3108. 26
  3109. FUNCTION LLastClick (lHandle: ListHandle) : Cell;
  3110. \ LFind
  3111. 26
  3112. PROCEDURE LFind (VAR offset,len: INTEGER; theCell: Cell;
  3113.                     lHandle: ListHandle);
  3114. \ LNextCell
  3115. 26
  3116. FUNCTION LNextCell (hNext,vNext: BOOLEAN; VAR theCell: Cell;
  3117.                     lHandle: ListHandle) : BOOLEAN;
  3118. \ LRect
  3119. 26
  3120. PROCEDURE LRect (VAR cellRect: Rect; theCell: Cell; lHandle: ListHandle)
  3121. \ LSearch
  3122. 26
  3123. FUNCTION LSearch (dataPtr: Ptr; dataLen: INTEGER; searchProc: Ptr;
  3124.                     VAR theCell: Cell; lHandle: ListHandle) : BOOLEAN;
  3125. \ LSize
  3126. 26
  3127. PROCEDURE LSize (listWidth,listHeight: INTEGER; lHandle: ListHandle);
  3128. \ LDraw
  3129. 26
  3130. PROCEDURE LDraw (theCell: Cell; lHandle: ListHandle);
  3131. \ LDoDraw
  3132. 26
  3133. PROCEDURE LDoDraw (drawIt: BOOLEAN; lHandle: ListHandle);
  3134. \ LScroll
  3135. 26
  3136. PROCEDURE LScroll (dCols,dRows: INTEGER; lHandle: ListHandle);
  3137. \ LAutoScroll
  3138. 26
  3139. PROCEDURE LAutoScroll   (lHandle: ListHandle);
  3140. \ LUpdate
  3141. 26
  3142. PROCEDURE LUpdate (theRgn: RgnHandle; lHandle: ListHandle);
  3143. \ LActivate
  3144. 26
  3145. PROCEDURE LActivate (act: BOOLEAN; lHandle: ListHandle);
  3146. \ Reset
  3147. 27
  3148. Procedure Reset( F, [,title] );
  3149. \ Rewrite
  3150. 27
  3151. Procedure Rewrite( F, [,title] );
  3152. \ Open
  3153. 27
  3154. \ Close
  3155. 27
  3156. \Eof
  3157. 27
  3158. \ Get
  3159. 27
  3160. \ Put
  3161. 27
  3162. \ Seek
  3163. 27
  3164. Procedure Seek(f,n);
  3165. \ FilePos
  3166. 27
  3167. Function FilePos(f):LongInt;
  3168. \ Length
  3169. 28
  3170. Function Length(st:String):Integer;
  3171. \ Pos
  3172. 28
  3173. Function Pos(SubStr,Str:String):Integer;
  3174. \ Concat
  3175. 28
  3176. Function Concat(str1,str2 ...Strn:String):String;
  3177. \ Copy
  3178. 28
  3179. Function Copy(s:string; index,count:integer):String;
  3180. \ Delete
  3181. 28
  3182. Procedure Delete(var s:string;index,count:integer);
  3183. \ Omit
  3184. 28
  3185. Function Omit(s:string; index,count:integer):String;
  3186. \ Insert
  3187. 28
  3188. Procedure insert( source : String; var Dest:String;index:integer);
  3189. \ HideAll
  3190. 29
  3191. Procedure HideAll;
  3192. \ ShowText
  3193. 29
  3194. Procedure ShowText;
  3195. \ ShowDrawing
  3196. 29
  3197. Procedure ShowDrawing;
  3198. \ SetDrawingRect
  3199. 29
  3200. Procedure SetDrawingRect(WindowRect:Rect);
  3201. \ SetTextRect
  3202. 29
  3203. Procedure SetTextRect(WindowRect:Rect);
  3204. \ GetDrawingRect
  3205. 29
  3206. Procedure SetDrawingRect(var WindowRect:Rect);
  3207. \ GetTextRect
  3208. 29
  3209. Procedure SetTextRect(var WindowRect:Rect);
  3210. \ SaveDrawing
  3211. 29
  3212. Procedure SaveDrawing(Title:String);
  3213. \ WriteDraw
  3214. 29
  3215. procedure WriteDraw(p1,p2 .. pn);
  3216. \ StringOf
  3217. 29
  3218. Function StringOf(p1,p2 .. pn):String;
  3219. \ ReadString
  3220. 29
  3221. Procedure ReadString(s:string; var v1,v2 .. vn);
  3222. \ OldFileName
  3223. 29
  3224. Function OldFilename(prompt:string):String;
  3225. \ NewFileName
  3226. 29
  3227. Function NewFileName(prompt [ , Default ] :String):String;
  3228. \ Note
  3229. 29
  3230. Procedure Note ( frequency:LongInt; Amplitude:integer; Duration:Integer);
  3231. \ Generic
  3232. 29
  3233. Procedure Generic (instructionWord:integer;var Registers:RegistersRec);
  3234. \ InlineP
  3235. 29
  3236. Procedure InLineP(TrapWord:Integer; p1,p2.. pn);
  3237. \ BInlineF
  3238. 29
  3239. Function BInlineF(TrapWord:Integer; p1,p2.. pn):Boolean;
  3240. \ BInlineW
  3241. 29
  3242. Function BInlineW(TrapWord:Integer; p1,p2.. pn):Integer;
  3243. \ BInlineF
  3244. 29
  3245. Function BInlineL(TrapWord:Integer; p1,p2.. pn):Longint;
  3246. \DeepS**t Errors
  3247. 30
  3248. 1         Bus Error
  3249. 2         Address Error
  3250. 3         Illegal Instruction Error
  3251. 4         Zero Divide Error
  3252. 5         Check Trap Error
  3253. 6         Overflow Trap Error
  3254. 7         Privilege Violation Error
  3255. 8         Trace Mode Error
  3256. 9         Line 1010 Trap Error
  3257. 10        Line 1111 Trap Error
  3258. 11        Miscellaneous Hardware Exception Error
  3259. 12        Unimplemented Core Routine Error
  3260. 13        Uninstalled Interrupt Error
  3261.  
  3262. 14        I/O Core Error
  3263. 15        Segment Loader Error
  3264. 16        Floating Point Error
  3265.  
  3266. 17        Package 0 Not Present
  3267. 18        Package 1 Not Present
  3268. 19        Package 2 Not Present
  3269. 20        Package 3 Not Present
  3270. 21        Package 4 Not Present
  3271. 22        Package 5 Not Present
  3272. 23        Package 6 Not Present
  3273. 24        Package 7 Not Present
  3274. 25        Out of Memory Error
  3275. 26        Can╒t Launch File
  3276.  
  3277. 28        Stack has Moved into Application Heap
  3278. 29        File System Map has been Trashed
  3279. 30        Request User to Reinsert Off-Line Volume
  3280. 31        Not the Disk I Wanted
  3281.  
  3282. 32        Set Logical Size Error
  3283. 33        Adjust Free Error
  3284. 34        Adjust Counters Error
  3285. 35        Make Block Free Error
  3286. 36        Set Size Error
  3287. 37        Initialize Memory Manager Error
  3288. 38-53     ?
  3289. \Result Codes
  3290. 30
  3291. VALUE    NAME            MEANING
  3292.  
  3293. 0        noErr           No Error
  3294.  
  3295. Operating System Event Manager Errors
  3296.  
  3297. 1        evtNotEnb       Event type not designated in system event mask
  3298.  
  3299. Printing Manager Errors
  3300.  
  3301. 128      iPrAbort        Application or user requested abort
  3302. -1       iPrSavpFil      Saving spool file
  3303.  
  3304. Queuing Errors
  3305.  
  3306. -1       qErr            Entry not in queue
  3307. -2       vTypErr         QType field of entry in vertical retrace queue
  3308.                          isn't vType (in Pascal, ORD(vType))
  3309.  
  3310. Device Manager Errors
  3311.  
  3312. -17      controlErr      Driver can't repsonf to this Control call
  3313.                          Unimplemented control instruction (Printing
  3314.                          Manager)
  3315. -18      statusErr       Driver can't respond to this Status call
  3316. -19      readErr         Driver can't respond to Read calls
  3317. -20      writErr         Driver can't respond to Write calls
  3318. -21      badUnitErr      Driver reference number doesn't match unit 
  3319.                          table
  3320. -22      unitEmptyErr    Driver reference number specifies NIL handle in
  3321.                          unit table
  3322. -23      openErr         Requested read/write permission doesn't match
  3323.                          driver's open permission
  3324.                          Attempt to open RAM Serial Driver failed
  3325. -25      dRemovErr       Attempt to remove an open driver
  3326. -26      dInstErr        Couldn't find driver in resource file
  3327. -27      abortErr        I/O request aborted by KillIO
  3328.          iIOAbort        I/O abort error (Printing Manager)
  3329. -28      notOpenErr      Driver isn't open
  3330.  
  3331. File Manager Errors
  3332.  
  3333. -33      dirFulErr       File Directory full
  3334. -34      dskFulErr       All allocation blocks on the volume are full
  3335. -35      nsvErr          Specified volume doesn't exist
  3336. -36      ioErr           I/O error
  3337. -37      bdNamErr        Bad file name or volume name (perhaps 0 length)
  3338. -38      fnOpenErr       File not open
  3339. -39      eofErr          Logical end-of-file reached during read
  3340.                          operation
  3341. -40      posErr          Attempt to position before start of file
  3342. -42      tmfoErr         Too many files open
  3343. -43      fnfErr          File not found
  3344. -44      wPrErr          Volume is locked by a hardware setting
  3345. -45      fLckdErr        File is locked
  3346. -46      vLckdErr        Volume is locked by a software flag
  3347. -47      fBsyErr         File is busy; one or more files are open
  3348. -48      dupFNErr        File with specified name and version number
  3349.                          already exists
  3350. -49      opWrErr         The read/write permission of only one access
  3351.                          path to a file can allow writing
  3352. -50      paramErr        Error in parameter list
  3353.                          Parameters don't specify an existing volume, 
  3354.                          and there's no default volume (File Manager)
  3355.                          Bad positioning information (Disk Driver)
  3356.                          Bad driver number (Disk Initialization Package)
  3357. -51      rfNumErr        Path reference number specifies non-existent 
  3358.                          access path
  3359. -52      gfpErr          Error during GetFPos
  3360. -53      volOffLinErr    Volume not on-line
  3361. -54      permErr         Attempt to open locked file for writing
  3362. -55      volOnLinErr     Specified volume is already mounted and on-line
  3363. -56      nsDrvErr        No such drive; specified drive number doesn't
  3364.                          match any number in the drive queue
  3365. -57      noMacDskErr     Not a Macintosh disk; volume lacks Macintosh-
  3366.                          format directory
  3367. -58      extFSErr        External file system; file-system identifier is
  3368.                          non-zero, or path reference number is > 1024
  3369. -59      fsRnErr         Problem during rename
  3370. -60      badMDBErr       Bad master directory block; must reinitialize
  3371.                          volume
  3372. -61      wrPermErr       Read/write permission doesn't allow writing
  3373.  
  3374. Low-Level Disk Errors
  3375.  
  3376. -64      noDriveErr      Drive isn't connected
  3377. -65      offLinErr       No disk in drive
  3378. -66      noNybErr        Disk is probably blank
  3379. -67      noAdrMkErr      Can't find an address mark
  3380. -68      dataVerErr      Read-verify failed
  3381. -69      badCksmErr      Bad address mark
  3382. -70      badBtSlpErr     Bad address mark
  3383. -71      noDtaMkErr      Can't find a data mark
  3384. -72      badDCksum       Bad data mark
  3385. -73      badDBtSlp       Bad data mark
  3386. -74      wrUnderrun      Write underrun occurred
  3387. -75      cantStepErr     Drive error
  3388. -76      tk0BadErr       Can't find track 0
  3389. -77      initIWMErr      Can't initialize disk controller chip
  3390. -78      twoSideErr      Tried to read side 2 of a disk in a single-
  3391.                          sided drive
  3392. -79      spdAdjErr       Can't correctly adjust speed
  3393. -80      seekErr         Drive error
  3394. -81      sectNFErr       Can't find sector
  3395.  
  3396. Also, to check for any low-level disk error:
  3397.  
  3398. -84      firstDskErr     First of the range of low-level disk errors
  3399. -64      lastDskErr      Last of the range of low-level disk errors
  3400.  
  3401. Clock Chip Errors
  3402.  
  3403. -85      clkRdErr        Unable to read clock
  3404. -86      clkWrErr        Time written did not verify
  3405. -87      prWrErr         Parameter RAM written did not verify
  3406. -88      prInitErr       Validity status is not $A8
  3407.  
  3408. AppleTalk Manager Errors
  3409.  
  3410. -91      ddpSktErr       DDP socket error: 
  3411.                             Socket already active
  3412.                             Not a well-known socket
  3413.                             Socket table full
  3414.                             All dynamic socket numbers in use
  3415. -92      ddpLenErr       DDP datagram or ALAP data length too big
  3416. -93      noBridgeErr     No bridge found
  3417. -94      lapProtErr      ALAP error attaching/detaching ALAP protocol
  3418.                          type:
  3419.                             Attach error when ALAP protocol type is
  3420.                             negative
  3421.                             Not in range, or already in table, or when
  3422.                             table is full
  3423.                             Detach error when ALAP protocol type isn't 
  3424.                             in table
  3425. -95      excessCollsns   ALAP no CTS received after 32 RTS's, or line
  3426.                          sensed in use 32 times (not necessarily caused
  3427.                          by collisions)
  3428. -97      portInUse       Driver Open error, port already in use
  3429. -98      portNotCf       Driver Open error, port not configured for this
  3430.                          connection
  3431.  
  3432. Scrap Manager Errors
  3433.  
  3434. -100     noScrapErr      Desk scrap isn't initialized
  3435. -102     noTypeErr       No data of the requested type
  3436.  
  3437. Memory Mangager Errors
  3438.  
  3439. -108     memFullErr      Not enough room in heap zone
  3440.          iMemFullErr     Not enough room in heap zone (Printing Manager)
  3441. -109     nilHandleErr    NIL master pointer
  3442. -111     memWZErr        Attempt to operate on a free block
  3443. -112     memPurErr       Attempt to purge a locked block
  3444. -117     memLockedErr    Block is locked
  3445.  
  3446. Resource Manager Errors
  3447.  
  3448. -192     resNotFound     Resource not found
  3449. -193     resFNotFound    Resource file not found
  3450. -194     addResFailed    AddResource failed
  3451. -196     rmvResFailed    RmveResource failed
  3452.  
  3453. Additional AppleTalk Manager Errors
  3454.  
  3455. -1024    nbpBuffOvr      NBP buffer overflow
  3456. -1025    nbpNoConfirm    NBP not confirmed
  3457. -1026    nbpConfDiff     NBP name confirmed for different socket
  3458. -1027    nbpDuplicate    NBP duplicate name already exists
  3459. -1028    nbpNotFound     NBP name not found
  3460. -1029    nbpNISErr       NBP names information socket error
  3461.  
  3462. -1096    reqFailed       ATPSndRequest failed: retry coun t exceeded
  3463. -1097    tooManyReqs     ATP too many concurrent requests
  3464. -1098    tooManySkts     ATP too many responding sockets
  3465. -1099    badATPSkt       ATP bad responding socket
  3466. -1100    badBuffNum      ATP bad sequence number
  3467. -1101    noRelErr        ATP no release received
  3468. -1102    cbNotFound      ATP control block not found
  3469. -1103    noSendResp      ATPAddRsp issued before ATPSndRsp
  3470. -1104    noDataArea      Too many outstanding ATP calls
  3471. -1105    reqAborted      Request aborted
  3472.  
  3473. -3101    buf2SmallErr    ALAP frame too large for buffer
  3474.                          DDP datagram too large for buffer
  3475. -3102    noMPPError      MPP driver not installed
  3476. -3103    cksumErr        DDP bad checksum
  3477. -3104    extractErr      NBP can't find tuple in buffer
  3478. -3105    readQErr        Socket or protocol type invalid or not found in
  3479.                          table
  3480. -3106    atpLenErr       ATP response message too large
  3481. -3107    atpBadRsp       Bad response from ATPRequest
  3482. -3108    recNotFnd       ABRecord not found
  3483. -3109    sktClosedErr    Asynchronous call aborted because socket was
  3484.                          closed before call was completed\
  3485.